Animated Object changing position on Play?

Hi all!
I have this floor piece that I want to re-use various places in the game. (turn it into a prefab)
Problem is, it seem to be stuck in the place It was created?
My other objects are not acting in this weird manner…

I’ve seen other people with similar problems.
If I duplicate it, it keep on going back to its original position (I used Unity’s built in animator where I added “property” and “position” etc…)
Someone said "make it a child to another object. But when I do, It disappears (waaaay outside the scene)
Someone said “Apply Root motion” - but then It wont even play its animation…
Someone said “delete the animator” - that works when I made it a child to another object, but it wont animate…

Question 1: In what circumstance would I want my object/prefab to go back to where it was created?
Question 2: Am I using the Unity animator wrong?
Question 3: How do I solve it?

Here is a quick video on my problem…

Use an empty object as the parent (anchor) to your animated object. Then you can move the anchor object and the animation will be relative to the parent (the way you, probably, did it it is absolute to the world.)

3 Likes

thanks man! it worked :slight_smile: