Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Problem importing animation

Discussion in 'Editor & General Support' started by pgbrandao, Oct 5, 2009.

  1. pgbrandao

    pgbrandao

    Joined:
    Jul 28, 2009
    Posts:
    15
    Hi!

    I'm having some trouble importing animations from 3ds Max, I hope you awesome guys can help me :D

    Here's the issue: It's a simple test model with a single animation, and it happens in-place. The models are first being exported using FBX Exporter 2009, WITH their animations. When I bring the animations into Unity (with all the standard options), they work fine... except that once I start the game, the game objects move to 0,0,0, regardless of where I placed them! I tried this with 2 different animations to no avail.

    I'd be really grateful if anyone can help me...
    Thanks!
     
  2. GargerathSunman

    GargerathSunman

    Joined:
    May 1, 2008
    Posts:
    1,571
    If you're recording the position value of the model inside the animation, then it will go to that exact position relative to its parent, regardless of what you do to it. If it doesn't have a parent, it'll default to that position in world space. So, create an empty, put the model inside it, and then move the empty around like normal.
     
  3. pgbrandao

    pgbrandao

    Joined:
    Jul 28, 2009
    Posts:
    15
    Thanks for the clear-up... I was imagining there was another way, but I guess this makes sense. 8)
     
unityunity