Answer the question
In order to leave comments, you need to log in
Should the animator be separated from the rest of the character logic?
Perhaps the question drove you a little into a dead end, several times I saw how two scripts 1. PlayerController and 2. AnimatorPlayerController weigh on an object (let's say gg). In the first script, there are events that are processed in the second script and signal when to change animations. How much does this approach reduce the coherence of the code, and is it worth doing this
Answer the question
In order to leave comments, you need to log in
This increases readability, because if you need to correct the logic of character movement, you go to one script, if animations, then to another, if the health system, then to the third, and so on. This does not affect the speed of execution (and if it does, it is extremely insignificant), but it is easier for developers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question