Hi! At first I'd like to say that I'm very new to Unity, so maybe my following question is stupid, but I hope you all can help me with it! :)
I have a problem with animation playing in Unity3d. I have downloaded a starcraft 2 model (Not blizzards model, but from someone, who made that model for starcraft 2 editor). The model is in a .m3 format. I learned how to open it in 3ds Max, and export it to another file. I choose to export it to .3ds format. Then I imported it to Unity, and it looks perfect. Now the problem is that the all the animations like shooting, running etc. is only in one file "Take001" instead of one file per animation. Now I dont know how to make unity to know when the Character should run and when to shoot. I cant animate, so I dont know anything aobut it, so is there a way of solving the problem, or is there a better way of doing all these steps?
I hope you can help me! :)
edit: In 3ds Max, you can view all the animations. there are about 15.
edit 2 : So, I somehow found out that animations are stored in one file, and that they can be separated in Unity, but how?
Script: the idea with this script is that it plays walk animation when the object is moving along the z axis, it play T_right (turn right) animation when not moving, but rotating, and to make it play stand animation when not moving or rotating
In unity, expand the model and click the Take001 animation - it should bring up the animation import inspector.
What you need to do is click the split toggle, and then type in the name, start and end frames for each animation in the grid below it.
You can most likely figure out the names and frames from the model in 3dsmax.
answered Oct 10 '10 at 03:31 PM