LlGroundNormal
From Second Life Wiki
(Redirected from LSL llGroundNormal)
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
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>; }
See Also
Functions
| • | llGround | – | Gets the ground height | |
| • | llGroundContour | – | Gets the ground contour | |
| • | llGroundSlope | – | Gets the ground slope |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

