Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animated Character transforms position on play

Discussion in 'Animation' started by blazoneer, Jan 19, 2017.

  1. blazoneer

    blazoneer

    Joined:
    Oct 31, 2016
    Posts:
    13
    After importing an FBX file with animations, I drag the model into the scene, reposition it it from the X0, Y0, Z0 coordinates to a coordinate: X175, Y0, Z25.

    I then assign an animation controller, and for this model, the animation is a basic idle + look around motion.

    Almost everything works as intended -- when I hit play, the model looks around -- but when I hit play, at the beginning of the animation, the character teleports back to X0, Y0, Z0 and begins looking around. When I hit stop -- it retakes the intended position.

    How do I get the model during animation to stay where I want it? I'm figuring I could place the model in the scene at any X Y Z coordinate and when it plays, it will play from that coordinate, but I don't know what setting I'm missing.
     
  2. blazoneer

    blazoneer

    Joined:
    Oct 31, 2016
    Posts:
    13
    Figured out the solution -- Inspector > Animation Tab > Root Transform Position XZ = Original.
     
    theANMATOR2b likes this.