- Home /
Animation through Animator in unity
When i try to animate any object it perfectly animate but when i create its prefeb and put it some where in space it not animate or behave like it does before it animate again the same animation in same x and y.
for example: before prefeb : position of object x=1, y=1 after animation x=2 , y=2 after prefeb and put it some where in space position lets say x = 55,y=55 after animate x=2 and y=2 but the position supposed to x=56 and y=56
Do you have any script to accompany the animator functions?
Answer by moriam · Apr 19, 2015 at 09:34 AM
That's because the animator defines the accurate positions.
What you should do is create an empty object and set the animation on it. Then, set the object you want to move as its child.
Your answer
Follow this Question
Related Questions
Animator.FireAnimationEvents giving 90ms spikes 1 Answer
How to make paint coloring game in unity and COLOR specific part of image 0 Answers
Jump animation with a little bounce like towerfall 0 Answers
UIText Color Alpha not working 0 Answers
Animator preview framerate is lower than animation 0 Answers