playMaker

Author Topic: How do I make this math?  (Read 7220 times)

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: How do I make this math?
« Reply #15 on: January 31, 2014, 11:03:14 AM »
Hi Jean!

This Follow Mouse action is really straightforward! Much better than use Mouse Pick and get/set mouse coordinates for the object! I hope this action to be included in a Playmaker update. Couldn't add an ease in/out to the Move Towards action. I played a bit with "spring joint" as you mentioned in a post before with no success. I think that an acceleration movement to go slowly from 0 to a maximum speed when the mouse button is down and then slowly return to 0 when the mouse button is up even if the maximum speed was not reached.

Many thanks for your help!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How do I make this math?
« Reply #16 on: February 03, 2014, 05:14:31 AM »
Hi,

 make a dummy use the movetoward and have your final object use a smooth follow action, then you'll get your easing.

bye,

 Jean

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: How do I make this math? [SOLVED]
« Reply #17 on: February 03, 2014, 12:25:17 PM »
Thanks for your help, Jean! I used your idea of a dummy object and added to the player an iTween move update following the dummy object. I couldn't figure how to use the Smooth Follow, I think it's better suitable for 3D scenes and I'm aiming for 2D.

Your help was superb!

Thank you!
« Last Edit: June 01, 2014, 09:24:33 PM by LogLady »