playMaker

Author Topic: Help with rolling a sphere with force based on click/drag  (Read 664 times)

BienGG

  • Playmaker Newbie
  • *
  • Posts: 1
Help with rolling a sphere with force based on click/drag
« on: May 28, 2020, 05:37:20 AM »
Just starting to learn how to use Unity and Playmaker. I would like to make a sphere roll based on how fast I drag it with a mouse. I think I'm supposed to use the "Get Mouse Button Down" action, along with "Mouse Pick" and "Add Force", but I'm not sure what variables to use and such.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Help with rolling a sphere with force based on click/drag
« Reply #1 on: June 04, 2020, 02:25:56 AM »
Hi,

 there is an old tutorial on this on playmaker wiki:

https://hutonggames.fogbugz.com/default.asp?W881

 check it out, if you hit trouble let me know.

BYe,

 Jean