mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added setAirborneHeightFunc
This commit is contained in:
parent
2292497923
commit
6d9bc4072f
@ -104,6 +104,9 @@ class NonPhysicsWalker(DirectObject.DirectObject):
|
||||
self.pusher.addCollider(self.cSphereNodePath, avatarNodePath)
|
||||
self.lifter.addCollider(self.cRayNodePath, avatarNodePath)
|
||||
|
||||
def setAirborneHeightFunc(self, getAirborneHeight):
|
||||
self.getAirborneHeight = getAirborneHeight
|
||||
|
||||
def deleteCollisions(self):
|
||||
del self.cTrav
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user