Land collision - Second Life Wiki

Land collision

From Second Life Wiki

Second Life Wiki > LSL Portal > Events > Land collision
Jump to: navigation, search

Contents

Description

Event: land_collision( vector pos ){ ; }

Triggered in the root when physical object or attached avatar 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

Events

•  land_collision_start
•  land_collision_end

Functions

•  llGround Gets the ground height

Deep Notes

Issues

All Issues

~ Search JIRA for related Issues
   presence of collision* events influencing land_collision* events
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.