LSL Wiki Mirror : llCollisionSound

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
llCollisionSound(string impact_sound, float impact_volume)

Suppresses the default collision sounds and replaces them with impact_sound (a sound in the object's inventory or a key) played at the volume impact_volume. Supply an empty string to suppress collision sounds. Oddly, an impact_volume of 0 will disable collision particles.

Question: I'd like to play the default sound, but at a quieter volume, say 0.5. What do I use for impact_sound to still use the default sound?
Answer: That varies, depending on the material used and its sound keys.

Compare with llCollisionSprite.


Functions | Sound | Collisions
There is no comment on this page. [Display comments/form]