added getVelocity

This commit is contained in:
Samir Naik 2005-03-01 00:49:52 +00:00
parent 5c2d4f40d8
commit 2e58c8d9d8

View File

@ -255,6 +255,9 @@ class NonPhysicsWalker(DirectObject.DirectObject):
def reset(self): def reset(self):
assert(self.debugPrint("reset()")) assert(self.debugPrint("reset()"))
def getVelocity(self):
return self.vel
def enableAvatarControls(self): def enableAvatarControls(self):
""" """
Activate the arrow keys, etc. Activate the arrow keys, etc.