Want character to begin animation before actully moving

Hi,

I am very new to Unity and also scripting, but its coming slowly.
I want to make a 2D platformer game. I am currently using the Lerpz code as a basis. I have modelled and animated my own character and exported the animations into Unity. My character is walking and running very nicely using the Lerpz Platform Controller and Platform Animation scripts, however jumping is another issue. I want my character to bend its legs before jumping up when the jump button is pressed. At the moment the character levitates then bends its legs before playing the jumpLand anim. I’m guessing I need some sort of timer that plays the jump animation (legs bend) for about 0.5secs before levataing the character in the air.

Can anyone help me please?

You should try it the other way around: Don’t delay the animation, delay the jump itself! Try making a simple timer for that. You know where to find us when you need help ^^

Thanks for the heads up. I will try adding a simple timer to delay the animation. I will get on that tomorrow as it is quite late now and have to be at work early. I’m sure I will be back for some help when I get frustrated. :slight_smile: