Skip to content
lsl.devlsl.devLSL Dev

land_collision_start

event
Event syntax
land_collision_start(
  1. vector pos// Vector position of collision with the ground.
) { … }

Triggered in the root prim when a physical object or attached avatar first begins colliding with the ground at position pos.

Triggered in the root when a physical object or attached avatar starts colliding with land

How to use
land_collision_start(vector pos)
{
}
Example 1
//Put script into physical object and drop to ground. It will say position of initial impact.
default
{
land_collision_start( vector pos )
{
llOwnerSay("Land collision at: "+(string) pos.x + ","+(string) pos.y+","+(string)pos.z);
}
}
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.