Difference between revisions of "Land collision"

From Second Life Wiki
Jump to navigation Jump to search
m (~tweak)
m (Replaced old <LSL> block with <source lang="lsl2">)
Line 10: Line 10:
|spec
|spec
|caveats
|caveats
|examples=<lsl>//Will die on collision with land.
|examples=<source lang="lsl2">//Will die on collision with land.
default
default
{
{
Line 17: Line 17:
           llDie();
           llDie();
     }
     }
}</lsl>
}</source>
|helpers
|helpers
|also_header=
|also_header=

Revision as of 01:26, 22 January 2015

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

Signature

event void land_collision( vector pos );