Playmaker Forum

PlayMaker News => General Discussion => Topic started by: waigo21 on October 15, 2015, 03:13:16 AM

Title: How can I get the simple 4 directions via Mouse pick??
Post by: waigo21 on October 15, 2015, 03:13:16 AM
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?