Scrub wants to know best way to implement differing jump animations.

HiddenBro

  • Posts: 11
Basically, I have three jump animations.

One when the character jumps to the right.

One when the character jumps to the left.

And one when the player jumps, but doesn't push left nor right.

What would be the best way to implement this?

UnrealCanine

  • Posts: 244
(code to trigger jump animation)

if speed > 0 (or x){
switch animation to jump right
}
else if speed <0 (or -x){
switch animation to jump left
}
else{
switch animation to jump idle
}