From 4c8bd1f92b142c9a58068843e52d3e8d9a39e54e Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Tue, 25 Nov 2003 23:01:38 +0000 Subject: [PATCH] minor changes --- direct/src/showbase/PhysicsWalker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/showbase/PhysicsWalker.py b/direct/src/showbase/PhysicsWalker.py index f3deced543..7ff537e08b 100755 --- a/direct/src/showbase/PhysicsWalker.py +++ b/direct/src/showbase/PhysicsWalker.py @@ -315,7 +315,7 @@ class PhysicsWalker(DirectObject.DirectObject): def avatarPhysicsIndicator(self, task): #assert(self.debugPrint("avatarPhysicsIndicator()")) - # Velosity: + # Velocity: self.physVelocityIndicator.setPos(self.avatarNodePath, 0.0, 0.0, 6.0) physObject=self.actorNode.getPhysicsObject() a=physObject.getVelocity() @@ -458,7 +458,7 @@ class PhysicsWalker(DirectObject.DirectObject): # self.priorParent.setVector(Vec3.zero()) # # We must copy the vector to preserve it: # self.__oldPosDelta=Vec3(posDelta) - if 1 and __debug__: + if __debug__: if self.wantAvatarPhysicsIndicator: onScreenDebug.add("posDelta1", self.avatarNodePath.getPosDelta(render).pPrintValues()) @@ -720,13 +720,13 @@ class PhysicsWalker(DirectObject.DirectObject): def enableAvatarJump(self): """ - Force the ctrl key to return 0's + Stop forcing the ctrl key to return 0's """ inputState.unforce("jump") def disableAvatarJump(self): """ - Stop forcing the ctrl key to return 0's + Force the ctrl key to return 0's """ inputState.force("jump", 0)