Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scanning for more that 16 Objects

Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
11-07-2007 14:03
sensor event says it is limited to 16 items ?

Is there a way to scan for more ?
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
11-07-2007 15:27
Use a small arc and rotate the object.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-07-2007 15:43
From: Masakazu Kojima
Use a small arc and rotate the object.

oooooooo nice! I had been rezzing a handful of sensors and sending list to mom to build the list, like this better.(meant I like the idea of rotation better. Gonna definitely play with this)
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-07-2007 19:42
duh, now why didn't I think of that.... just don't forget to rotate up and down.... and remember that even with a scan radius of 45deg, and 6 scans, you'll have some holes

jesse I had the same thoughts, and that way may be faster, and not too bad on impact if using temp on rez
_____________________
|
| . "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...
| -
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
11-07-2007 20:04
duh
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
11-07-2007 20:33
Are you saying llSesnor doesn't scan in t he vertical when you say rotate up and down ?
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
11-07-2007 20:58
http://www.sdfjkl.org/hosting/lslwiki/sensor.mpeg
http://rpgstats.com/wiki/index.php?title=LlSensor
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-08-2007 12:47
From: Krista Chaffe
Are you saying llSesnor doesn't scan in t he vertical when you say rotate up and down ?

no, I only meant that 45deg arc * 6 scans would be the same as tracing circles on the sides of a cube... notice the corners would be outside the scan zones, all the way back to the object center...

the proper arc for 6 scans needs to be larger... but I'm not doing the math for it, but I'm guessing near 60deg

sensors scan the +X vector, I've never tried it bu I assume you could feed it a negative arc and get it to scan the -X vector (or maybe it'd behave the same, I dunno how it's implemented)
_____________________
|
| . "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...
| -
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
11-08-2007 12:58
You might also want to wait for the sensor result before rotating and calling again, *assuming* it works the same way as when you call llSensor and then change the object's position
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-08-2007 13:31
If you take a look at the mpeg video that Masakazu provided. It looks like she has the prim the sensor is in, going up and down to fully cover the verticle. Cool!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum