playMaker

Author Topic: Vehicle movement depending on location tap  (Read 1184 times)

bazzajunior

  • Playmaker Newbie
  • *
  • Posts: 25
    • Molber Games
Vehicle movement depending on location tap
« on: September 26, 2015, 06:57:46 PM »
I'm not quite sure how to word this but here goes. I have a setup for a mobile game which involves three vehicles, each selected independently of each other.

At the moment, my vehicles move to where the user taps/presses on the screen. This works great but when tapping/pressing behind the vehicle, it spins around in an unrealistic matter.

It's it possible to determine where the user presses on the screen with respect to the vehicle itself, e.g. if the user presses behind the vehicle, it'll reverse rather than spinning around?

This would prove to be really useful as I have one vehicle where reversing would be highly beneficial.

I can post screen shots of my FSM setup if required.


Thanks in advance.