Difference between revisions of "Collision end"

From Second Life Wiki
Jump to: navigation, search
m
m (Listed caveats about when collsions do not trigger.)
Line 5: Line 5:
 
|spec
 
|spec
 
|caveats=*This event does not always trigger reliably.
 
|caveats=*This event does not always trigger reliably.
 +
* Phantom objects can never receive trigger collision events.
 +
* llVolumeDetect(TRUE) objects get trigger collision_start and collision_end but not collision() events.
 +
* A collision with a hovering avatar does not trigger collisions, unless the avatar turns or moves.
 +
* Only a physical object will get collision events from colliding with a non-physical object.
 +
 
|examples=<lsl>collision_end(integer total_number)
 
|examples=<lsl>collision_end(integer total_number)
 
{
 
{

Revision as of 14:17, 23 August 2010

Description

Event: collision_end( integer num_detected ){ ; }

Triggered when task stops colliding with another task

• integer num_detected

Caveats

  • This event does not always trigger reliably.
  • Phantom objects can never receive trigger collision events.
  • llVolumeDetect(TRUE) objects get trigger collision_start and collision_end but not collision() events.
  • A collision with a hovering avatar does not trigger collisions, unless the avatar turns or moves.
  • Only a physical object will get collision events from colliding with a non-physical object.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl>collision_end(integer total_number) {

   llOwnerSay("The collision I've had with " + llDetectedName(0) + "has ended.");

}</lsl>

See Also

Deep Notes

Issues

All Issues

~ Search JIRA for related Issues
   Add enumeration to llPassCollisions() to provide PASS_ALWAYS, PASS_IF_NOT_HANDLED, and PASS_NEVER as explicit options.
(Was: Collisions passed to parent REGARDLESS llPassCollisions(FALSE) in child)

Signature

event void collision_end( integer num_detected );