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 llSetLinkTexture(integer linknumber, string texture, integer face)
void llWhisper(integer channelID, string text)
string llGetRegionName()
key llHTTPRequest(string url, list parameters, string body)
void llPushObject(string target, vector impulse, vector ang_impulse, integer local)
void llSetPrimURL(string url)
void llPassTouches(integer pass)
string llGetStartString()