fix z on collision

This commit is contained in:
Dave Schuyler 2004-09-16 01:25:30 +00:00
parent 83d2cd8120
commit c3fc66631f

View File

@ -564,6 +564,7 @@ class ShipPilot(PhysicsWalker.PhysicsWalker):
else:
self.buoyancy.setVector(Vec3.zero())
physObject.setPosition(Point3(physObject.getPosition().getX(), physObject.getPosition().getY(), 0.0))
self.actorNode.updateTransform()
#self.buoyancy.setVector(Vec3(0, 0, -depth))
# get the button states: