2DCharacterControllerTutorial icon indicating copy to clipboard operation
2DCharacterControllerTutorial copied to clipboard

Jumping

Open Teo1121 opened this issue 4 years ago • 0 comments

Having trouble jumping, player get's stuck for a moment if colliding with celling.

Maybe add (colliderDistance.pointA - colliderDistance.pointB) / Time.DeltaTime to the velocity, just like the transform.Translate. Also instead of checking if velocity.y < 0, check velocity.y < 0.01f

Teo1121 avatar Jun 26 '20 21:06 Teo1121