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?