浏览代码

Jump for the 2D game is much more responsive, and instantaneous.

Samik Bhowal 17 年之前
父节点
当前提交
99bbf03b7d
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      direct/src/controls/TwoDWalker.py

+ 0 - 3
direct/src/controls/TwoDWalker.py

@@ -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: