- Home /
Activating One Part of An Animation
I have an 'equip gun' animation that I want to trigger with a button but I only want it to effect certain bones in my character.
I don't have a clue how to do this!
I would be grateful if anyone could help.
Thank You
Answer by reptilebeats · Mar 29, 2012 at 04:09 AM
Make a new animation event in the parent of the character and then individualy click each child object u want to move and move it it should auto matically only move that bone, as long as animation rec is on.
Remember to chose pivot and local to get the bones to move properly, well it depends on how good ur character is rigged
Answer by zerox911 · Mar 29, 2012 at 03:14 AM
my suggestion is...
create a few animation scenes on the character..
create a button to trigger the animation..
this is a GUI Button trigger :
if(GUI.Button(Rect(X,Y,x,y),"SWAP"){
animation.Play("SWAP");
}
this is for keyboard trigger :
if(Input.GetKeyDown("Space")){
animation.Play("SWAP");
}
so... when triggered the animation will start playing..
depends on what mode you set it (loop , default , etc3)
hope this helps...
Your answer
Follow this Question
Related Questions
Please help in triggering an animation through another object. 1 Answer
Character Aiming 1 Answer
How do I trigger an animation using a button? 3 Answers
Start Animation On Trigger 2 Answers