Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

How To Re-Position Objects That Have Been Animated (broke my game)

Discussion in 'Animation' started by iEpic, Jun 18, 2014.

  1. iEpic

    iEpic

    Joined:
    Sep 29, 2013
    Posts:
    119
    My 2D scene is setup where I have a character holder with the rigidbody and animator controller and all the child objects are the sprites that I animated.
    So I spent forever doing some pretty complex animations and I realized all the sprites need to be moved to the center of the character holder. Right now they are all offset by like 5 on the x axis, so when I do a jump flip, he doesn't rotate around his center. The character controller is rotating, but since all the child sprites are offset to the right, it's as he is spinning around an invisible world object instead of just rotating himself.

    I repositioned all the sprites in the correct location, but when I press play they all move back to the offset position i set the first time. I tried going frame by frame and repositioning everything where it should be, but ran into all kinds of problems and it messed the animations up.

    Is there a way I can get all these sprites in the center of the character holder without having to re-animate everything?

    Any help or advice would be greatly appreciated because right now I am stuck.
    Thanks for any help!