mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Jump for the 2D game is much more responsive, and instantaneous.
This commit is contained in:
parent
e19ff9aa06
commit
99bbf03b7d
@ -37,9 +37,6 @@ class TwoDWalker(GravityWalker):
|
||||
assert self.debugPrint("isAirborne 0 due to isOnGround() true")
|
||||
impact = self.lifter.getImpactVelocity()
|
||||
messenger.send("jumpLand")
|
||||
if impact < -5.0:
|
||||
self.startJumpDelay(0.2)
|
||||
# else, ignore the little potholes.
|
||||
assert self.isAirborne == 0
|
||||
self.priorParent = Vec3.zero()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user