Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Physical on sit

Coldfire Nightfire
Registered User
Join date: 25 May 2008
Posts: 48
01-19-2010 12:50
Hi all
Is there a way to turn an object physical apon sitting on it .
Thank you in advance
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
01-19-2010 12:54
llSetStatus(STATUS_PHYSICS,TRUE);

See http://wiki.secondlife.com/wiki/LlSetStatus
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Coldfire Nightfire
Registered User
Join date: 25 May 2008
Posts: 48
well kinda worked
01-19-2010 13:16
Hi thanks that did what I wanted untill the script resets then turns physical on the reset
any work around to prevent that It has to reset script to function the way I need

Never mind and thank you I added it to the wrong section , but figured it out . all better thanks so much
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
01-19-2010 13:24
From: Coldfire Nightfire
Hi thanks that did what I wanted untill the script resets then turns physical on the reset

Did you mean reset turns physical "off"? If so, then ...
From: someone
any work around to prevent that It has to reset script to function the way I need

yes... Try this in state_entry...

CODE

if (llAvatarOnSitTarget() !=NULL_KEY)
{
llSetStatus(STATUS_PHYSICS,TRUE);
}
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at