LSL Wiki Mirror 7-7-7 : llGroundNormal

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
vector llGroundNormal(vector offset);

Returns the normal vector to the ground at the object's position + offset.

The normal vector is orthogonal (perpendicular) to the surface of the ground and is always orthogonal to llGroundSlope.

For example, on a perfectly flat, level area of land, the ground normal would be <0,0,1> (straight up; the z-axis).

Compare to llGroundContour and llGroundSlope.

*this is offset isn't local?! ....data indicates that!;

Functions | Simulator
There are 2 comments on this page. [Display comments/form]