I
I
Ivan Spasov2021-10-26 19:55:39
Unity
Ivan Spasov, 2021-10-26 19:55:39

Player movement through animation?

I got as far as learning about animator and while playing with animations with mixamo I came across this thing like Apply Root Motion
This made me think - "Why is it better not to do player movement through animation"

I understand that this is a bad idea, but at the level of sensations and thoughts:

1. The visual part and the logical part are different areas and it is better not to interfere with them
2. This is better suited for small details and non-main objects - a bird is flying in the distance, a lantern is swinging, etc.


Why not use animations to move the player?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pragma Games, 2021-10-30
@spasiboivanu

Moving through animation is much more heavyweight, imposes a bunch of restrictions and so on. Especially when it comes to mixing animations and applying masks. The most banal problem is that with the code you can move the character to any point in space. And the animation is constantly fixed, and in order to move the character, for example, by 1/2 of the full animation cycle, you will have to calculate the time and stop the animation at the right moment, which by itself will break the animation display itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question