I'like to get the simple 4 directions ( West, East, North, South) via mouse pick.
And store the offset to 2 variables: offsetX, offsetZ.
The available values are (-1, 0), (0, 1), (0, -1), (1, 0).
Is there any simple way to setup the FSM and transitions?
Actually I've made this and I wonder if there is any better solution?