Question by
tas41 · Oct 16, 2016 at 07:24 PM ·
c#jumpingfps controller
FPS Jump Help
so, I made a character controller that checks if the player is on the ground and if the jump button is pressed so that the character can jump. However, if you walk into a wall and start jumping, you start climbing the wall
So i tried making a small physics overlap sphere and put it at the character's feet and tied it to the isGrounded bool but now the jump trigger is too small and the character has a hard time jumping on smaller surfaces.
Is there a way to check if the player is on the ground and the ground only without tagging each and every wall as not the ground?
Comment
Slope check. There are plenty of other answers, a simple google search will work.