- Home /
animation problem
hi my problem is basically that my model stick to his animation position and it wont move for example my animation position is (20x,20y) and when i wont to move it to the players position it dosenot work i tried to check and uncheck the root motion and it still dosenot work but when i chekced the motion root it worked but every time the animation was played the gameobject moved and with every click it moved it moved in a circle way . i would really appreciate it if someone know how to fix it. and sry for the bad English its not my mother language.
Answer by Z_Y_X · Jul 14, 2020 at 07:05 PM
That's because your animation has property transform.position (it changes position of an object).
If you want to move an object with that animation, make it a child of empty GameObject and move new GameObject. (Do non attache move script to object with animation).
Your answer
Follow this Question
Related Questions
scripting problem 0 Answers
How do you make an object appear and disappear depending on position of player? 1 Answer
Online Rpg Animation does not work 0 Answers
Animator trigger keeps retriggering. 0 Answers
Animating a Panel,Animating a panel 1 Answer