Skip to content

llSetPhysicsMaterial

  • DirectoryllSetPhysicsMaterial void
    • 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

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.