mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
added jump hard land back in
This commit is contained in:
parent
1dd6700ef7
commit
b55032cf4b
@ -345,8 +345,7 @@ class GravityWalker(DirectObject.DirectObject):
|
|||||||
self.isAirborne = 0
|
self.isAirborne = 0
|
||||||
impact = self.lifter.getImpactVelocity()
|
impact = self.lifter.getImpactVelocity()
|
||||||
if impact < -30.0:
|
if impact < -30.0:
|
||||||
#messenger.send("jumpHardLand")
|
messenger.send("jumpHardLand")
|
||||||
messenger.send("jumpLand")
|
|
||||||
self.startJumpDelay(0.1)
|
self.startJumpDelay(0.1)
|
||||||
else:
|
else:
|
||||||
messenger.send("jumpLand")
|
messenger.send("jumpLand")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user