Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: BienGG on May 28, 2020, 05:37:20 AM

Title: Help with rolling a sphere with force based on click/drag
Post by: BienGG 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.

(https://i.imgur.com/itixZSX.png)
Title: Re: Help with rolling a sphere with force based on click/drag
Post by: jeanfabre 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