Land collision - Second Life Wiki

Land collision

From Second Life Wiki

Jump to: navigation, search

Event: land_collision( vector pos ){ ; }

Triggered when task is colliding with land

• vector pos position of collision with the ground

Examples

//Will die on collision with land.
default
{
     land_collision(vector pos)
     {
          llDie();
     }
}

See Also

•  llGround Gets the ground height