added getVelocity
This commit is contained in:
parent
5c2d4f40d8
commit
2e58c8d9d8
|
|
@ -255,6 +255,9 @@ class NonPhysicsWalker(DirectObject.DirectObject):
|
|||
def reset(self):
|
||||
assert(self.debugPrint("reset()"))
|
||||
|
||||
def getVelocity(self):
|
||||
return self.vel
|
||||
|
||||
def enableAvatarControls(self):
|
||||
"""
|
||||
Activate the arrow keys, etc.
|
||||
|
|
|
|||
Loading…
Reference in New Issue