land_collision
event
Event syntax
land_collision(vector pos// Vector position of collision with the ground.
) { … }Triggered in the root prim when a physical object or attached avatar is colliding with the ground at position pos.
Triggered in the root when physical object or attached avatar is colliding with land
land_collision(vector pos){
}Examples
Section titled “Examples”Example 1
//Will die on collision with land.default{ land_collision(vector pos) { llDie(); }}Known issues
Section titled “Known issues”- SVC-3304: presence of collision* events influencing land_collision* events
See also
Section titled “See also”Functions
Section titled “Functions”llGround— Gets the ground height
Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.