x


Animation.Play works, but Crossfade does not?

Hey guys, my character should plays a "hang" animation when hanging off the ceiling, and play another one, namend "hungrest" while hanging idle (velocity.x == 0) off the ceiling.

function Hungrest() {
animation.Play ("hungrest");
}

Hung and Hungrest are on the same layer (0) but when i use CrossFade for hungrest, hung stops but hungrest does not start. When i use animation.Play, like in the example above, its works, but the transition is pretty ugly.

Thanks for your time!

more ▼

asked Apr 09 '11 at 05:39 PM

Shady gravatar image

Shady
11 3 3 5

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

1 answer: sort voted first

puuuuuuuuuush :D

more ▼

answered Apr 10 '11 at 04:35 PM

Shady gravatar image

Shady
11 3 3 5

(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
x82
x57

asked: Apr 09 '11 at 05:39 PM

Seen: 1154 times

Last Updated: Apr 09 '11 at 05:39 PM