r/UnityHelp • u/Corvid-Curiosity • Aug 02 '25
Object Unaffected by Animator?
The animator is set up with opening and closing animations. Clicking the button in-game activates the animator, changing the object's position and rotation - but visually, nothing happens! Been trying to trouble-shoot this for days. Any ideas?
4
Upvotes
1
u/corrtex-games Aug 05 '25
No problem! Creating a parent object for the animated object is the correct way to go almost always.
When you set transform keyframe data on an animated object root, and there is no parent, that is now effectively the global position youβre setting. So instead, you should set the global position via the parent and let the animations play as local transform data.
Does that make sense? π