Skip to content

llSetPhysicsMaterial

void llSetPhysicsMaterial(integer MaterialBits, 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.

Parameters
MaterialBits (integer)
A bitmask specifying which of the parameters in the other arguments should be applied to the object.
GravityMultiplier (float)
Restitution (float)
Friction (float)
Density (float)

Add example usage here.

Add additional notes, caveats, or tips here.

  • Related pages can be linked here