playMaker

Author Topic: Mousepick object and drag, couldn't find how to do  (Read 709 times)

celaeno

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Mousepick object and drag, couldn't find how to do
« on: May 02, 2014, 12:54:31 PM »
Hello,

I've searched a lot, but couldn't find how to achieve this.

I'm making an global input manager, where I store a gameobject with mousepick. Now I'd like to set the position of the picked object  so I can pick and drag any object on the screen. But SetPosition let's only choose between userowner or specify gameobject.

I prefer not to use mousedown and mousedrag system events, because mousedrag I believe is slower then getmousebutton or a touch event.

How can I change the position of the mousepicked object? Or what is the proper way to do this?

Thanks  :)