mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fixed unknown var contact in resetPhys
This commit is contained in:
parent
c1dfd835fb
commit
0c0ef268e7
@ -679,6 +679,7 @@ class PhysicsWalker(DirectObject.DirectObject):
|
||||
self.highMark = 0
|
||||
self.actorNode.setContactVector(Vec3.zero())
|
||||
if __debug__:
|
||||
contact=self.actorNode.getContactVector()
|
||||
onScreenDebug.add("priorParent po",
|
||||
self.priorParent.getVector(self.actorNode.getPhysicsObject()).pPrintValues())
|
||||
onScreenDebug.add("highMark", "% 10.4f"%(self.highMark,))
|
||||
|
Loading…
x
Reference in New Issue
Block a user