(Unity 2d) Player isn't "grounded" though clearly on the ground.
I'm making a platformer with a character that is supposed to jump from platform to platform. I've gotten the jump to work, however, sometimes my character switches to jump animation, even though he clearly is on the ground and it gets really annoying at times, because I want the controls to be precise. Anyone knows how to fix this?
Well it really depends on how does your script work, maybe you are missing a transition in Animator from jump animation to next animation or maybe your "grounded" bool is not always accurate for some other reason but there's no way of saying that for sure if you won't show your code or a piece of code that is responsible for controlling jump and animator parameters
Sorry for the late reply. I figured it out. I simply made the radius bigger on ground checking object and now it works fine! But thank you for the answer anyways!
Your answer
![](https://koobas.hobune.stream/wayback/20220612093927im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Having a couple of problems regarding 2D Movement. 1 Answer
Auto generated blocks turning invisable? 2d game 1 Answer
How to get custom data from a tile 0 Answers
How to make so that the player can jump on a object, but he can't stand on it? (2D) 0 Answers
How to deal with grounded check after jump initiated? 3 Answers