playMaker

Author Topic: Touch Object Event - finger sliding  (Read 1749 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Touch Object Event - finger sliding
« on: March 10, 2014, 04:04:23 PM »
Hi, the action 'touch object event' has been set to move a character to translate left. When I drag my finger from the 'touched object' off to another point in the screen the character continues to move left as if my finger is still placed on it.

The transition 'moved' would stop the event if I slide my finger but that makes the controls feels unnatural so is there a way 'touch object event' will deactivate when my finger slides off the object?
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Touch Object Event - finger sliding
« Reply #1 on: March 11, 2014, 06:32:33 AM »
Hi,

 Yep, good point, this action only deal with sending events based on the touch IF you are on the gameobject, so you may be able to get away with acting only when the event touchMoved is fired, if it's not fired, then you are not over it and the user isn't moving.

bye,

 Jean