playMaker

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

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 60
    • View Profile
Need a object follow finger left and right
« on: March 22, 2018, 07: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: 78
    • View Profile
    • The Museum of Digital
Re: Need a object follow finger left and right
« Reply #1 on: March 22, 2018, 08: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: 13028
  • Official Playmaker Support
    • View Profile
Re: Need a object follow finger left and right
« Reply #2 on: May 06, 2018, 11:47:18 PM »
Hi,

 Check out the sample MoveTowardsWithConstraints on the ecosystem.



Bye,

 Jean