LlCollisionSprite

From Second Life Wiki

Jump to: navigation, search
Image:Emblem-important-red.png Broken Feature Warning!

VWR-322 reports this function as broken.

Contents

Summary

Function: llCollisionSprite( string impact_sprite );

Suppress default collision sprites, replace default impact sprite with impact_sprite

• string impact_sprite a texture in the inventory of the prim this script is in, a UUID of a texture or an empty string

To suppress the collision sprite all together, just use an empty string as the value for impact_sprite

Caveats

  • If impact_sprite is not an empty string and...
    • impact_sprite is missing from the prim's inventory and it is not a UUID or it is not a texture then an error is shouted on DEBUG_CHANNEL.
  • If impact_sprite is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   llCollisionSprite broken in newer releases.

Examples

See Also

Events

•  collision_start
•  collision
•  collision_end

Functions

•  llCollisionFilter
•  llCollisionSound

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   llCollisionSprite broken in newer releases.

Footnotes

  1. ^ Early release notes were not very accurate or thorough, they sometimes included information about features added in a previous release or fail to include information about features added in that release.
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools
In other languages