Search Unity

Actor snaps to 0.0.0 position upon playing animation

Discussion in 'Animation' started by S-dieters, Sep 21, 2014.

  1. S-dieters

    S-dieters

    Joined:
    Aug 27, 2013
    Posts:
    42
    Hey all,
    I have seem multiple treads about this issue, but nobody came up with a decent answer.
    I have a generic animation type character with atm only one animation (there are more, but for now i only clamped one). the animation plays correctly and it will move forward like in my animation, but for some reason it keeps snapping back to 0.0.0 at the beginning of each loop for my walk cycle. i have tried disabling root motion, and tried baking root transform positions, but all without success.

    included i have a screenshot of my hierarchy and inspector and also a video showing the issue.

    Any help is welcome!
     

    Attached Files:

  2. TMPxyz

    TMPxyz

    Joined:
    Jul 20, 2012
    Posts:
    766
    Hi,
    Check the following points:
    1. check model importer inspector rig tab, if the root bone is specified right.
    2. check the anim clip in Animation view, see if there's MotionT curves.
    3. the animation tab of importer, the position (XZ) to be "Root Node Position";

    Hope this helps