x


Localmotion head spinning.

So when I have localmotion disabled everythign works fun, but whne its on my characters head just spins(insanely) and never goes back to localmotions walking and idle animations. I herd I want to crossfade back to localmotion possibly?

my script

function Update () { PlayAttackAnim(); }

function PlayAttackAnim() { if(Input.GetMouseButtonUp(0)) { animation.Play("attack1"); } else if(Input.GetMouseButtonUp(1)) { animation.Play("attack2"); } else if(!animation.IsPlaying("attack1") && !animation.IsPlaying("attack2")) { animation.Play("Idle"); } }

more ▼

asked May 17 '12 at 05:03 AM

ilwc gravatar image

ilwc
1 2 3 4

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

0 answers: sort voted first
Be the first one to answer this question
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:

x1043
x222
x206
x71

asked: May 17 '12 at 05:03 AM

Seen: 391 times

Last Updated: May 17 '12 at 05:03 AM