- Home /
I have a issue with Player Grounding.
I am new to the unity, and making a subway surfer type game. Everything is working ok (kinda !). Problem i am having is when i click play button, my player starts a little above the ground. Using character controller for movement.
I am using if (controller.IsGrounded== true){input etc etc} for adding jump, which is also working. That means my player is grounded right? but my character starts a little above the ground and I cant understand why. Position on Y does not go below the given amount as shown in screenshot.
adding a screenshot for details.
Answer by V_0_1_D_ · Feb 26 at 07:02 PM
Have you set the platform's collider properly? Maybe some logic is wrong in your player script. you may send an screenshot of that. Also the isGrounded is a sensitive property that should be used in a precise way with gravity.