- Home /
Question by
dheerajluffy · Aug 19, 2020 at 09:30 AM ·
c#animation2d-platformer
my 2d character is not going to next animation state from one
i am making a platformer and have 4 animation states (idle , run, jump,fall) i used enum to represent and make transition happen , and i also used istouchinglayer() method to know the character to play the fall animation when its not touching to any collider ,but the problem is when i jump while pressing the left or right movement keys it comes to fall and after hitting ground(collider) it is not going back to idle animation
can anyone help ! any help is greatly appreciated ,thank you
Comment
Your answer
Follow this Question
Related Questions
animation state is stuck 0 Answers
my 2d character is stucks at fall state 1 Answer
Multiple Cars not working 1 Answer
(2D) What is the best way to implement a run-and-shoot animation? 1 Answer