playMaker

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

ArctheLad

  • Playmaker Newbie
  • *
  • Posts: 24
Drag and Drop objects
« 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.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Drag and Drop objects
« Reply #1 on: October 31, 2013, 09:33:08 AM »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Drag and Drop objects
« Reply #2 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