
It looks like you're new here. If you want to get involved, click one of these buttons!
I have made a simple enemy patrol animation and I want to trigger a "die" animation using OnTriggerEnter. But since I'm moving the enemy using an animation, when I trigger "die", the enemy object changes its position to 0,0,0. I want it to retain its position from patrol animation and play only the die animation from that position. How can I achieve this?
Answers
On the Animator component, check "Enable Root Motion"