- Home /
instantiated objects animation making the object reset to 0,0,0??
So i have an enemy prefab that is destroyed when you kill it. But i have a trigger that when you enter the trigger it instantiates the enemy again. Everything works fine but for some reason when it spawns the enemy its animation keeps making it fly straight to 0,0,0. I have tried parenting it to an empty object but when i do that you cant kill the enemy. How can i stop it from resetting? Ive never seen anything like this before.
Could the Instantiate position be wrong? You should post the spawn script.
Answer by Default117 · Nov 29, 2011 at 02:23 AM
This issue is to do with your model file itself. If you're using Maya, ensure that you delete all history and freeze your transforms before saving/exporting to fbx.
Your answer
Follow this Question
Related Questions
enemy respawn after amount of time 2 Answers
Help with error when using instantiate to respawn an enemy. 0 Answers
Enemy offset, gallaga style game (space invaders) 0 Answers
timer that can be reset 1 Answer
I can't script enemy animation 0 Answers