Skip to content

llSetPhysicsMaterial

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