mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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.pusher.addCollider(self.cSphereNodePath, avatarNodePath)
|
||||||
self.lifter.addCollider(self.cRayNodePath, avatarNodePath)
|
self.lifter.addCollider(self.cRayNodePath, avatarNodePath)
|
||||||
|
|
||||||
|
def setAirborneHeightFunc(self, getAirborneHeight):
|
||||||
|
self.getAirborneHeight = getAirborneHeight
|
||||||
|
|
||||||
def deleteCollisions(self):
|
def deleteCollisions(self):
|
||||||
del self.cTrav
|
del self.cTrav
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user