x


loop ani's and triggered ani's

My castle has a wind mill and 4 doors. The animations are set in different keyframes in Lightwave. They import correctly. The doors work on cue, the wind mill works on start-up. However, when a door animation is triggered, the wind mill stops and does not start again. I have placed a script on the wind mill to rotate through code. BUT, my question is this: can an imported object with multiple animations run simultaneously in Unity?

more ▼

asked Apr 06 '10 at 11:50 PM

steven pearce gravatar image

steven pearce
35 6 6 7

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

1 answer: sort voted first

I believe you should be able to get the desired effect using animation layers. Set the rotate and open door animations to be on different layers. That way, when you Play() one animation, the other will not be stopped, and the result will be a blend of the two playing animations.

more ▼

answered Apr 07 '10 at 07:06 AM

KvanteTore gravatar image

KvanteTore
1.5k 9 15 33

(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:

x3929
x304

asked: Apr 06 '10 at 11:50 PM

Seen: 663 times

Last Updated: Apr 07 '10 at 07:07 AM