- Home /
how to use 3ds max models in unity 3d?
hi friends!
i am a newb. I have just started with unity 3d and I know a bit of modeling and animation in 3ds max 9. Can anyone tell me how to use 3ds max models in unity 3d. how to make them move..? i want to create a game character in 3ds max and use it in unity 3d for fps game.. please help....
thanks in advance..
Answer by KJStudios · Dec 28, 2012 at 10:53 PM
ok this is pretty easy - you just go to file , export , .fbx then on unity , go to assets, import asset , choose the asset and drag it into your scene
then you can animate it in the editor by choosing parts of the body and creating keyframes , then you will have to make a script to make it move
eg. shooting a gun
function Update()
//getmousebuttondown(0)) is the left click / (1)) = right click
{
if(Input.GetMouseButtonDown(0))
{
// Plays the shoot animation - stops all other animations
animation.Play("shoot", PlayMode.StopAll);
}
}
then attach that script to your gun , play the game and test it
hey thanks! I will work on it. It will very helpful if you provide any tutorial links or any good e-books which demonstrates this.
Answer by Pysassin · Dec 28, 2012 at 10:53 PM
While in 3ds you go to file>export then select fbx. To make your life easir make sure you change the units to meters. Then once in Unity yoy import the asset like you do any other asset. You can animate the model in unity or max either will work.