Hello. I am trying have my character jump in Unity (Still kinda new to this), So I created an animation where the player squats down and then jumps in the air.
To do this, I had to move the gameObject with the rigidbody down and up during the animation. I figured I would have troubles with that, but I tried it anyway and when I start the game, the character can no longer move or look around and is not affected by gravity.
I also thought about just moving the children of the main object, but I still get the same result. Also, if you're wondering why I didn't just use a jump script, It's because I have one, but it's less realistic, because the player doesn't squat down first. Any ideas?
↧