playMaker

Author Topic: Need a object follow finger left and right  (Read 2844 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 72
Need a object follow finger left and right
« on: March 22, 2018, 10:24:32 AM »
I need a smooth following left and right of object with out finger leaving the screen. Please and thank you seems like this should be a stander-ed knowledge but never need to do this before in playmaker

verybinary

  • Junior Playmaker
  • **
  • Posts: 81
    • The Museum of Digital
Re: Need a object follow finger left and right
« Reply #1 on: March 22, 2018, 11:29:10 AM »
Try getting mousedown, grabbing vector(2 if possible but 3 should work?) And put an FSM on the object you want moved and move it to or towards or something with the vector variable.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Need a object follow finger left and right
« Reply #2 on: May 07, 2018, 02:47:18 AM »
Hi,

 Check out the sample MoveTowardsWithConstraints on the ecosystem.



Bye,

 Jean