llSetPhysicsMaterial
LSLvoid llSetPhysicsMaterial(integer material_bits, float material_gravity_modifier, float material_restitution, float material_friction, float material_density)
Sets the selected parameters of the object's physics behavior.\ MaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, Restitution, Friction, and Density are the possible parameters to manipulate.
Parameters
| Type | Name |
|---|---|
| integer | material_bits |
| float | material_gravity_modifier |
| float | material_restitution |
| float | material_friction |
| float | material_density |
The Linden Scripting Library — what every SL-compatible grid provides.