Difference between revisions of "Land collision start"

From Second Life Wiki
Jump to navigation Jump to search
m
(Example added)
Line 10: Line 10:
|spec
|spec
|caveats
|caveats
|examples
|examples=<lsl>//Put script into physical object and drop to ground.  It will say position of initial impact.
default
{
    land_collision_start( vector pos )
    {
      llOwnerSay("Land collision at: "+(string) pos.x + ","+(string) pos.y+","+(string)pos.z);
    }
}</lsl>
|helpers
|helpers
|also_header=
|also_header=

Revision as of 14:13, 2 March 2009

Description

Event: land_collision_start( vector pos ){ ; }

Triggered when task starts colliding with land

• vector pos position of collision with the ground

Caveats


Examples

<lsl>//Put script into physical object and drop to ground. It will say position of initial impact. default {

    land_collision_start( vector pos )
   {
      llOwnerSay("Land collision at: "+(string) pos.x + ","+(string) pos.y+","+(string)pos.z);
   }

}</lsl>

See Also

Events

•  land_collision
•  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_start( vector pos );