llSetPhysicsMaterial
Function Syntax
void llSetPhysicsMaterial(
- integer MaterialBits, // A bitmask specifying which of the parameters in the other arguments should be applied to the object.
- float GravityMultiplier,
- float Restitution,
- float Friction,
- float 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.