Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Dragging Objects?

Nyx Alsop
Registered User
Join date: 14 Dec 2008
Posts: 252
01-03-2010 05:00
Is there a way to like, have an object draggable on mouse down? and release on mouse up?
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
01-03-2010 05:35
From: Nyx Alsop
Is there a way to like, have an object draggable on mouse down? and release on mouse up?
Physical objects can be dragged if you Check 'Allow anyone to move'
_____________________
From Studio Dora
Nyx Alsop
Registered User
Join date: 14 Dec 2008
Posts: 252
01-03-2010 09:05
But is there anyway to do that without checking the box? though scripting? so I can add more functionality?
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
01-03-2010 09:22
You could turn the physics status on and off in the touch_start and touch_end events, or perhaps you could use llDetectedTouchST and llDetectedTouchFace in the touch event to figure out where to move to. Dunno if that helps.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
01-03-2010 10:06
From: Nyx Alsop
But is there anyway to do that without checking the box? though scripting? so I can add more functionality?
see: 'STATUS_BLOCK_GRAB' here:
http://lslwiki.net/lslwiki/wakka.php?wakka=llSetStatus
_____________________
From Studio Dora
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-03-2010 10:39
I thought anyone could move physical objects to begin with and the "allow anyone to move" merely allowed static objects to be moved in edit by anyone? (granted it was 2005 and H1 since I really tested those two fact)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -