Answer the question
In order to leave comments, you need to log in
Can an animation stop an object after it has finished?
Hello! During the creation of the game, I noticed that the character does not respond to the script (it used to react), and in general the character cannot even be moved with tools in the editor (when the test is launched). After examining everything, I remembered that I made an animation at the end of which the character stops, it works once and I didn’t even think that it could do something, thinking that everything would be fine after the action was completed. I want to know if animation can affect this and how can I fix it?
Answer the question
In order to leave comments, you need to log in
Yes, animation affects transform. If the position was affected in the animation, then the data from the animation will always be assigned to the object, in order to avoid this, you need to create a new object that will be the parent of the current one with animations and move the parent object.
- ParentObject (move through script)
-- Player (has animation)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question