playMaker

Author Topic: Drag and Drop objects  (Read 2659 times)

ArctheLad

  • Playmaker Newbie
  • *
  • Posts: 24
    • View Profile
Drag and Drop objects
« on: October 31, 2013, 05: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.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: Drag and Drop objects
« Reply #1 on: October 31, 2013, 06:33:08 AM »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14703
  • Official Playmaker Support
    • View Profile
Re: Drag and Drop objects
« Reply #2 on: October 31, 2013, 11:41:42 AM »
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