Answer the question
In order to leave comments, you need to log in
How to unconditionally calculate the last frame of an animation in unity?
I made an animation of the movement of the figure, as a result of which it changes its position by some vector.
I wanted to add the ability to change the animation speed from the script, but I ran into the following problem:
Animator does not calculate the last frame of the animation at high speed, or does not calculate the animation at all. It is not very important for me that the figure is visible at the point of the end frame (because after this move there may be several more moves), the main thing is that it should be calculated that the location of the figure has changed after the animation has been performed. What can be done with animations / the animator / script itself so that the position is calculated?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question