- Home /
Having issues with my animations
So I have my game object set up with 2 animations: idle and run. When my game starts the character is idle as he should. But when my guy runs and gets to a certain distance I let go of the running button and he returns to his idle state; but the problem is that no matter how far my guy runs he always returns to his starting position and I want him to be wherever he stopped running.
The way I have my hierarchy set up is that I have an empty game object as the parent (so that the character doesn't start off screen as before). Then, I have the actual character object (the one with the animations) set as the child.
I tried following this link's example but the explanation felt vague and left a lot to be desired as far as a clear and concise answer.
Would anyone know a way on how to fix this issue? Many thanks in advance.
Check the settings on the animaiton. I believe you want to root it to the object. I remember this problem when playing with the animations. Play around with the animation settings.
NOPE, could not make it work. For the life of me the animation settings had nothing to "root" to my game object. If you can help me our further that would be great, if not, then thanks anyways.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
A node in a childnode? 1 Answer
Can't remember how list.addrange goes 1 Answer
Script Execution Order Question 1 Answer