- Home /
Character controller problem?
Hello everyone.
This is the first time i try to import a model with animation in unity. I wanted to add a script which makes the character play the walk animation when moving. I know how to do that. But somehow when i apply my script to a simple cube the script seems to work but when I use it on my model from 3dsmax with animation it doesn't do anything.
Also the model seems to always be in the 0,0,0 position when i start the game no mather where i put it in the scene. And if i scale it it will bring itself back to 1,1,1 also when starting the game.
When i add a character controller it tells me: Adding a component will lose the prefab parent. And when i add the following script it will not move, while when i put the same script on a cube it will work as it has to.
http://unity3d.com/support/documentation/ScriptReference/CharacterController.Move.html Just took this script to test if it would do anything but unfortunately something seems wrong.
Anyway my unity knowledge is too low to understand whats going on here anyone knows whats wrong?
hey send me your project file and i will fix it all for you make sure you send me your player animations and etc. Can you please save your player as an obj because i don't have max and it i try to import them it will say max is not on your system. so save all the players animations and etc and send me along with you project folder at any of the following e-mail:
or my google mail:
may i suggest that you create a google account if you try and send me the project folder in hotmail it will only allow you 10mb no bigger than that.
so if you create a google account it will allow you to upload alot more :) hope to hear from you soon :)
have you animated it in unity? or have you animated it in 3ds max and imported it over? What file have you imported it over as?
Thanks for the comments i send my project to you $$anonymous$$C HALO
@Bobadebob I made the animations in 3dsmax and imported the max file in unity.
Answer by MC HALO · Apr 17, 2011 at 02:42 PM
Just remember if you are animating an object make sure its standing in the same place else if you move it about and then export them they will not stay in the same position and they will give you major problems :)
Answer by superventure · Apr 17, 2011 at 02:45 PM
make sure that when you import your model, it facing to the front in the front view, and the RIGHT in the left view, and most importantly that it is position directly in the center of the scene in your modelling program BEFORE you import it. Import it as an FBX to, it is better.
Your answer
Follow this Question
Related Questions
Animation Problems 1 Answer
Need advice on how to learn Character Movement 0 Answers
bone animation from 3dsmax to unity 0 Answers
A node in a childnode? 1 Answer
3ds Max Animation and Unity? 1 Answer