- Home /
Character movement in animation vs. in script
I have come through couple of tutorials on the internet and as far as I understand, in order to move a character, there are two approaches.
Create animation, which would animate movement as well as change character position. Then in C# script, we would just pass parameter speed into animation and then animation would handle the movement itself.
Create animation, which would only animate movement. No translation is be applied in any axis. Then in C#, we would take care of position change, based on speed.
I really cannot choose, which approach I should use - as for me, both looks more less the same.
Which approach is the right one (best practice) in
2D game?
3D game?
Your answer
Follow this Question
Related Questions
Character contoller movement speed varies with device 0 Answers
I need help with adding my character controller to a Character model 2 Answers
Set the time of an animation keyframe per script? 0 Answers
Merry Fragmas Character Controller for Unity 5 0 Answers
Does root transform (Y) work with Character Controller? 0 Answers