how can i start animation position from certain GameObject??

Hi

i created animation for collecting objects , while the player collect certain object , an animation will be triggered
i want that animation to be triggered from the position of the object which has been collected, this collected object will be in different places each time , so how can i attached the animation position with that object position ??

Put the object inside an empty child. Place it at (0,0) inside the empty object (well, it’s not strictly empty anymore). Position this object where you want your object. Now the animation will be played relative to the empty objects.

It is always a good idea to create animations at the scene’s (0,0), then it get really easy to use them with empty objects as position anchors.

1 Like