Sidescroller animation issue

Hi Folks I’m trying to build a side Scroller while using lessons from the mars marine course. I cannot get the animation to play properly. my controls are (D) for forward and (A) for back, D gives -1 for movement speed and A gives +1. so i have my State Machine set up as in the image below

Idle to walk forward rule is movement speed <-0.1 = can enter transition

Idle to walk Back rule is movement speed >0.1 = can enter transition

in this set up only the walk back animation will play in both directions.

what is the correct way to set up this type of animation. there probably is a better animation setup for what I want I would appreciate any help thanks

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms