- Home /
Help with animation... Please
hello... i am struggling because i wont to make a FPS but i can not for the life of me figure this out,, when i put a first person controller on to my character i dont no how to animate the character to reload, shoot etc.. if anybody could help PLEASE DO !! :)
Thanks.
Answer by huttch · Oct 16, 2011 at 05:04 PM
use:
animation.Play("AnimationName");
to activate the animation
Answer by japanitrat · Sep 12, 2011 at 12:27 AM
you setup animations for that gameobject/mesh and start them when a certain key is pressed. for further information, please provide code and describe what you already have. there are some great tutorials on unity3d.com which will teach you the basics. come back if you have a specific problem (this is what answers.unity3d.com is about).
That is my problem, i need to no how to activate the animations when a button is pressed, i am not a coder but there must be somthing out there to show us how to do this right ?
Thanks.