State Machines are something new to me. They seem the most efficient and clean way to control things like Character Movement.
I've had a look around for tutorials on setting up a state machine but nothing has been clear enough for me to understand so far.
I've seen some people create separate Nodes and Scripts to host the state machine, later calling it in the Player's script. Is this the best way to do it and how do I do it for a simple 2D platformer's Player?
Big thanks for any help received.