- Home /
Why doesn't he jump as high after Idle as he does after Walking?
I'm using the character controller component, I was using the same animation for all states but I recently changed the animation for Idle-Jump and I was having the problem before so that's not it. I have a feeling its something in my main controller coding. My character just bounces slightly if jumping from idle, but if jumping from walk or run his jump is perfect. I included screenshots of the code in case there are some spacing issues or something. Thanks.
(First picture is my jump script, second is my main controller)
I don't know if this solves your problem, but in the Update of you jump script, your missing brackets inside your if (controller.isGrounded)
Answer by ray2yar · Jan 21, 2019 at 01:35 PM
Is it possible that you are "applying" root motion for your animations? If so, then the difference might be in the animation itself.