mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
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…
x
Reference in New Issue
Block a user