playMaker

Author Topic: How can I get the simple 4 directions via Mouse pick??  (Read 1412 times)

waigo21

  • Playmaker Newbie
  • *
  • Posts: 1
How can I get the simple 4 directions via Mouse pick??
« on: October 15, 2015, 06: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?
« Last Edit: October 15, 2015, 07:16:52 AM by waigo21 »