Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Disallow Draggin of Physical Object

Eeb Voom
Registered User
Join date: 3 Aug 2007
Posts: 2
02-24-2008 20:04
I am almost sure that I have seen this done somehow.


Is it possible to create a physical object that the user can NOT with the mouse?

If so, how?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-24-2008 23:07
edit window, first tab, at the bottom, change default left click behavior to something besides touch/grab
_____________________
|
| . "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...
| -
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
02-24-2008 23:27
The owner will always be able to move such an object.

For everyone else, there's a checkbox in the objects properties.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-24-2008 23:52
I think we're just talking about mouse movement here. using the 'lock' option locks the object in place as if it were a regular static object removing physics.

ran into a similar problem with a soccer ball. if a person clicked on it the could freeze it from be kicked around, because the default action was grab/touch and it overrode physics impacts. the solution was to remove the grab, by setting the default action to open, or buy it could not be locked in place by a grab anymore.... pay works too if you have a money event in there somewhere, but open works best if there is nothing in the root prim (has no effect other than to block the grab)
_____________________
|
| . "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...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-25-2008 08:43
Try also: llSetStatus(STATUS_BLOCK_GRAB, TRUE);
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-25-2008 09:05
heh, that's what I get for barely using physics items... thanks Heewee, I totally spaced on that flag being available.
_____________________
|
| . "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...
| -
Eeb Voom
Registered User
Join date: 3 Aug 2007
Posts: 2
02-25-2008 14:11
Thankies So Very Much.

Just kinda brain-dead = me.