trying to fix phys engine platform tile bug

This commit is contained in:
minjaesong
2022-01-03 22:57:54 +09:00
parent 8502b51396
commit b9bb757a76
5 changed files with 32 additions and 19 deletions

View File

@@ -197,6 +197,7 @@ open class ActorHumanoid : ActorWithBody, Controllable, Pocketed, Factionable, L
if (isNoClip) {
//grounded = true
platformsToIgnore = null
}
// reset control box of AI
@@ -498,6 +499,10 @@ open class ActorHumanoid : ActorWithBody, Controllable, Pocketed, Factionable, L
isWalkingV = true
// TODO do something to the ActorWithBody.platformsToIgnore
}
private fun applyAccel(x: Int): Double {