Search Unity

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)