issue #16: jump height is "close enough", friction and walk/stop needs fix

This commit is contained in:
minjaesong
2019-01-20 07:03:23 +09:00
parent fc26f9af52
commit b4d97fc42e
2 changed files with 13 additions and 10 deletions

View File

@@ -519,7 +519,7 @@ open class ActorHumanoid(
val timedJumpCharge = jumpFunc(MAX_JUMP_LENGTH, jmpCtr)
forceVec.y -= getJumpAcc(jumpPower, timedJumpCharge)
forceVec.y += getDrag(forceVec).y
forceVec.y += getDrag(1.0 / Terrarum.PHYS_REF_FPS, forceVec).y
simYPos += forceVec.y // ignoring all the fluid drag OTHER THAN THE AIR