- Home /
Sword Swinging
I have been spending sometime now trying to develop a way to make a first person sword swing like it does in minecraft. Does anyone have a way that i can make this happen? scripts attach to what? Anything... i don't have ability to animate it right now unless i can do that in unity. any help is appreciated.
Answer by programmrzinc · Apr 25, 2012 at 12:55 PM
I would suggest you create an animation, and play it from a script
Answer by dibonaj · Apr 25, 2012 at 01:00 PM
You can do keyframe animations inside of Unity. So yes, you can animate. When you do this an animation is created and will show up under your project view. You can then reference the animation inside of your script.
Here's something to get you started: http://unity3d.com/support/documentation/Manual/Character-Animation.html
And the scripting reference: http://unity3d.com/support/documentation/ScriptReference/Animation.html
Thank you so much! this helps out until I get Blender. Thanks dibonaj and Peter Ayeni
Your answer
Follow this Question
Related Questions
there is no 'animation' attached to the gameobject but a script is trying to access it 2 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Have null errors 1 Answer