|
Allan Beltran
Registered User
Join date: 2 Dec 2006
Posts: 52
|
12-06-2006 18:13
Not sure if this belongs here but here it goes anyway...
I understand that the cone of llSensor originates from the calling prim. But what I'd like to know, and is not covered in the wiki, is what is the size of the origin. Is it the widest face of the prim perpendicular to the direction along the x-axis, or is is effectively 0 from the center point of the calling prim?
So, let's say I make a hollowed hemisphere. The sensor cone follows the forward vector of the calling prim. But is its origin the same as the circumference of the hemisphere, or is it originating from the center as 0?
The images on the wiki, showing the sensor cone, make it appear as though it is the size of the prims face. But, the image could be misleading since the arc is effectively 45 degrees, hence the origin could be from the center.
My assumption is that it originates from the calling prim's center to follow the x-axis. This is important to me because I need to know if the size of the dish is going to affect the area covered by the sensor.
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
12-06-2006 20:48
I have not confirmed this, but I believe the coordinates of the prim (its centre) is where the beam originates. The angle is doubled by the sensor.
|
|
Allan Beltran
Registered User
Join date: 2 Dec 2006
Posts: 52
|
12-06-2006 21:12
From: ed44 Gupte I have not confirmed this, but I believe the coordinates of the prim (its centre) is where the beam originates. The angle is doubled by the sensor. That's pretty much what I am assuming. I plan to use a phantom cone for testing, so it's pretty important that I get the sensor origin correct. Thanks.
|
|
Zaphod Kotobide
zOMGWTFPME!
Join date: 19 Oct 2006
Posts: 2,087
|
12-23-2006 11:15
the sensor origin is indeed the mass center of the prim
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-23-2006 11:50
From: Zaphod Kotobide the sensor origin is indeed the mass center of the prim I haven't checked this but i doubt it is the center of mass of the prim from which the sensor emits. I believe it is the prim position. *moves over to script tips*
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Allan Beltran
Registered User
Join date: 2 Dec 2006
Posts: 52
|
12-27-2006 11:39
From: Strife Onizuka I haven't checked this but i doubt it is the center of mass of the prim from which the sensor emits. I believe it is the prim position.
*moves over to script tips* Thanks for the replies, holiday's keeping me busy atm. So, if that's true, then a ring shape, for instance, would emit the sensor from its center. And further, a partial ring would emit from it's position and not from the center of its arc? Say a curve in a track? The emission would be off the track.
|