Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llVolumeDetect works or not?

Jack Digeridoo
machinimaniac
Join date: 29 Jul 2003
Posts: 1,170
07-22-2004 15:30
llVolumeDetect(integer detect);

When I try this, and my AV collides with the object, it falls through the ground and goes off world. What did I do wrong?
_____________________
If you'll excuse me, it's, it's time to make the world safe for democracy.
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
07-22-2004 15:47
The object falls through, or the avatar? llVolumeDetect is a special type of phantom. When it is enabled, the object acts like you checked the phantom checkbox.

Note that phantom and volume-detect arent the same things. If you enable phantom when volume-detect was active, you would no longer recieve collision_start/end events.
Jack Digeridoo
machinimaniac
Join date: 29 Jul 2003
Posts: 1,170
07-22-2004 16:24
The object falls through the ground as soon as my AV walks into the object. The object is physical. Phantom objects don't fall offworld for me. Did I find a bug?
_____________________
If you'll excuse me, it's, it's time to make the world safe for democracy.
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
07-22-2004 16:51
That's interesting... phantom object should never fall though the ground. It could be a bug with llVolumeDetect's kind of phantom.
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
07-22-2004 16:59
Yeah, I just tested with this code:
CODE
default
{
state_entry()
{
llVolumeDetect(TRUE);
}

collision_start(integer total_number)
{
llSetStatus(STATUS_PHYSICS, TRUE);
}
}


...and it DOES appear that it's a bug. Reported and wikied. :)
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog