- Home /
Question by
candylandtiger · Mar 27, 2014 at 05:54 PM ·
jump
How do I make realistic jumping?
I am just a beginner, unexperienced with scripts. I want to know how I can make my character jump realistically. I am in first person, just to let you know. The jumping I am preferring would be a slight bend of the knees before and after the jump.
Comment
Just use a transform animation component, and the play method when the jump starts and when it ends.
public Transform trans;
void Update(){ trans.animation.crossFade("$$anonymous$$nee Bend"); }
You need to find when the play jumps and lands though.
Your answer
Follow this Question
Related Questions
Delay for jumping, I've looked everywhere. 2 Answers
have 3rd person make a side jump -1 Answers
The faster my character goes the longer he jumps. 1 Answer
About character doublejumping. 1 Answer