x


multiple Mixing Transforms

hey, is it posible to have two different transforms assigned as mixing transforms for one animation?

thanks in advance

more ▼

asked Apr 27 '11 at 05:21 PM

DrVonTrap 1 gravatar image

DrVonTrap 1
24 5 5 8

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

2 answers: sort voted first

I am not sure what you mean by mixing transforms.

In any case, any Game Object can only have a single Transform component. In fact, it is mandatory that a Game Object have a transform, else it cannot exist in the world.

You can, however, have any array of child Game Objects parented to your original Game Object, each with their own Transforms, but I do not believe that is what you are asking.

If, by mixing transforms, you mean blending animations, you can do that here:

Animation Blending

API Reference: Animation Class

With that, for example, you could have 2 animations, one where your Transform moves from 0,0,0 to 10,0,0, and another where it moves from 0,0,0 to 0,10,0, and if you play them both simultaneously using layers and blend weights, your Transform would move to 10,10,0.

Hope that helps.

==

more ▼

answered Apr 27 '11 at 06:33 PM

equalsequals gravatar image

equalsequals
4.5k 16 28 63

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

Yes, you can have multiple mixing transforms on a single animation state.

more ▼

answered Apr 27 '11 at 08:15 PM

Paulius Liekis gravatar image

Paulius Liekis
7.3k 16 24 45

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

x3768
x1274
x12
x6

asked: Apr 27 '11 at 05:21 PM

Seen: 1199 times

Last Updated: Apr 27 '11 at 05:21 PM