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 |
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.
More in LSL
void llAddToLandBanList(key avatarId, float hours)
void llSetLinkPrimitiveParamsFast(integer linknum, list rules)
float llGetGMTclock()
void llResetTime()
void llSetSoundQueueing(integer queue)
void llSetBuoyancy(float buoyancy)
void llGodLikeRezObject(string inventory, vector pos)
list llGetPhysicsMaterial()