mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
takedown physics
This commit is contained in:
parent
5db5a14521
commit
79cf7493de
@ -250,6 +250,7 @@ class ShipPilot2(PhysicsWalker):
|
|||||||
return
|
return
|
||||||
assert not avatarNodePath.isEmpty()
|
assert not avatarNodePath.isEmpty()
|
||||||
|
|
||||||
|
self.takedownPhysics()
|
||||||
self.nodes = []
|
self.nodes = []
|
||||||
self.actorNode = avatarNodePath.node()
|
self.actorNode = avatarNodePath.node()
|
||||||
|
|
||||||
@ -730,7 +731,6 @@ class ShipPilot2(PhysicsWalker):
|
|||||||
newVector *= maxLen
|
newVector *= maxLen
|
||||||
|
|
||||||
|
|
||||||
print "newVector", newVector
|
|
||||||
if __debug__:
|
if __debug__:
|
||||||
onScreenDebug.add(
|
onScreenDebug.add(
|
||||||
"newVector", newVector)
|
"newVector", newVector)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user