- Home /
How to mix animations ???
I've a helicopter, but only four animations: forward, back, right and left. When I press the orizontal axis it plays left or right, and when I press the one Vertical, it plays back and forward. My question however is: How can I make that the helicopter rotates left-forward, or back-right when I press the orizontal and vertical axis?? Should I use the weight or the layer of the animationstate?? Please help me!
Answer by cookies · Jun 28, 2011 at 12:46 PM
I don't think I would even animate a helicopter going forward, back, right and left. I would just use transform.Rotate() and change the angle of my gameObject. There is probably a better way, but you could base your rotation on your horizontal and vertical axis.
well, in fact I use a script for moving it back, forward, left or right based on the rotation of it. But how to rotate it (in the animation) forward-right if I have two separate forward and right animations??
Answer by TahirG · Apr 01, 2012 at 10:16 PM
he means, dont use animations at all for that, just use rotations based on the direction of movement