Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ArctheLad on October 31, 2013, 08:08:43 AM

Title: Drag and Drop objects
Post by: ArctheLad on October 31, 2013, 08:08:43 AM
Hello all,

I'm currently working on a game that includes dragging and dropping objects into buckets, I am aware that it requires a mouse pick but I'm not sure how to set the FSM up. I know as much as using the mouse input and setting the object position to the location of the Vec3 variable. Any help is appreciated.

Thanks.
Title: Re: Drag and Drop objects
Post by: Lane on October 31, 2013, 09:33:08 AM
http://hutonggames.com/playmakerforum/index.php?topic=1286.0

That link should help.
Title: Re: Drag and Drop objects
Post by: jeanfabre on October 31, 2013, 02:41:42 PM
Hi,

 You need to cut down the problem. Lane's link is indeed one aspect of it, the second aspect would be recognysing the drop area and communicate with it to tell it the object  being dropped on it.

Start with lane's link, IF you are not using physics based gameobjects and only want to drag for example, GUI elements or elements in game but without any physics, let me know.


Bye,

Jean