x


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!

more ▼

asked Jun 28 '11 at 11:56 AM

anwe gravatar image

anwe
114 31 34 38

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Jun 28 '11 at 12:46 PM

cookies gravatar image

cookies
173 11 13 16

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??

Jun 28 '11 at 12:51 PM anwe
(comments are locked)
10|3000 characters needed characters left

he means, dont use animations at all for that, just use rotations based on the direction of movement

more ▼

answered Apr 01 '12 at 10:16 PM

(tahir)teamINOV gravatar image

(tahir)teamINOV
0 2 4

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5099
x3807
x31
x27

asked: Jun 28 '11 at 11:56 AM

Seen: 1122 times

Last Updated: Apr 01 '12 at 10:16 PM