Difference between revisions of "Land collision"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 19: Line 19:
}</lsl>
}</lsl>
|helpers
|helpers
|also_header=*{{LSLGC|Collision|Collision events & functions}}
|also_header=
|also_events
*{{LSLGC|Collision|Collision events & functions}}
|also_functions={{LSL DefineRow||[[llGround]]|Gets the ground height}}
|also_events=
{{LSL DefineRow||[[land_collision_start]]|}}
{{LSL DefineRow||[[land_collision_end]]|}}
|also_functions=
{{LSL DefineRow||[[llGround]]|Gets the ground height}}
|also_articles
|also_articles
|also_footer
|also_footer

Revision as of 09:58, 25 October 2008

Description

Event: land_collision( vector pos ){ ; }

Triggered when task 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 );