Land collision

From Second Life Wiki
Revision as of 17:01, 25 November 2010 by Void Singer (talk | contribs) (clarified description)
Jump to navigation Jump to search

Description

Event: land_collision( vector pos ){ ; }

Triggered in the root when object or attached avatar is colliding with land

• vector pos position of collision with the ground

Caveats


Examples

<lsl>//Will die on collision with land. default {

    land_collision(vector pos)
    {
         llDie();
    }

}</lsl>

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

Signature

event void land_collision( vector pos );