Answer the question
In order to leave comments, you need to log in
Is it possible to use localPosition in Unity animation?
You need to make animated balls like in this game. https://www.youtube.com/watch?v=TfoeOzhYGaY Each ball moves a little in place. I thought to make 2-3 different animations and animate all the balls in this way, but when I throw the animation on another object, it does not move around its point, but around the point of the object on which the animation was filmed. I guess I need to use localPosition, but how do I achieve this in animation? Is it possible? Or is it generally worth doing it through Sequence and not bothering? Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Usually, in this case, I just use an additional parent object.
some AnimationRoot is hung over the ball
and the animation hangs on this AnimationRoot. under which child is which is actually animated.
and everything that is not "attached" by a child in the hierarchy to this child will be correctly animated in local coordinates,
something like this. if it's simple and fast)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question