Dragging multiple items. ANYONE!?
swiftskater1
Member Posts: 97
I need to drag multiple items. But it is the same actor. I have it follow the mouse position. And when i have more then one it controls all of them. I want it to be seperate drags
Comments
i.e:
Rule
When MOUSE is DOWN
When MOUSE is INSIDE
Change Attribute: self.dragging to TRUE
Otherwise
Change Attribute: self.dragging to FALSE
Rule
When self.dragging is TRUE
Constrain Attribute self.PositionX to MouseX
Constrain Attribute self.PositionY to MouseY
Try changing MOUSE to TOUCH and see if that works...
It will start to get tricky, you will need to keep track of touch counts as well...
I haven't done any multitouch stuff yet, so I'm not the best one to answer this...
I have to go out for a bit, I'll be back online later... I'll try to help you out the best I can.