LlGroundNormal

From Second Life Wiki

Jump to: navigation, search

Contents

Description

Function: vector llGroundNormal( vector offset );
222 Function ID
0.0 Delay
10.0 Energy

Returns a vector that is the ground normal from the current position + offset.

• vector offset


The requested position needs to be in the same sim.

Specification

This function is defined as:

 
vector llGroundNormal(vector offset)
{
    vector slope = llGroundSlope(offset);
    return <slope.x, slope.y, 1.0>;
}
 

Examples

See Also

Functions

•  llGround Gets the ground height
•  llGroundContour Gets the ground contour
•  llGroundSlope Gets the ground slope
Personal tools