In my game, basically the character can walk into four directions (up,down,left,right), so I set "No diagonal loops".
But when the character turns, e.g. I walk to the left, then I walk to the right, he turns up and then right. This is okay, but the turn "animation" looks rather choppy. So I made animations of my character "rotating" from looking left to looking up, from up to right, from right to down, and so on. I hope you can follow me to that point. What I want is to play these "turn animations" whenever the character turns in another direction.
E.g. when I walk to the left and then to the right, the character should rotate from left to up and then from up to right, and then continue walking. That would look much smoother than the standard "characters turn before walking"-setting.
Anyone an idea how I could accomplish this?
Thanks in advance,
Oncer
But when the character turns, e.g. I walk to the left, then I walk to the right, he turns up and then right. This is okay, but the turn "animation" looks rather choppy. So I made animations of my character "rotating" from looking left to looking up, from up to right, from right to down, and so on. I hope you can follow me to that point. What I want is to play these "turn animations" whenever the character turns in another direction.
E.g. when I walk to the left and then to the right, the character should rotate from left to up and then from up to right, and then continue walking. That would look much smoother than the standard "characters turn before walking"-setting.
Anyone an idea how I could accomplish this?
Thanks in advance,
Oncer