Skip to content

PRIM_FLEXIBLE

constant
Constant
integer PRIM_FLEXIBLE = 21;
Set with llSetLinkPrimitiveParamsFast
PRIM_FLEXIBLE, integer enabled, integer softness, float gravity, float friction, float wind, float tension, vector force
Get with llGetLinkPrimitiveParams, llGetPrimitiveParams
PRIM_FLEXIBLE → integer enabled, integer softness, float gravity, float friction, float wind, float tension, vector force
  1. integer enabled
  2. integer softness// Range 0–3
  3. float gravity// Range -10–10
  4. float friction// Range 0–10
  5. float wind// Range 0–10
  6. float tension// Range 0–10
  7. vector force

Prim parameter to get or set the prim's flexible configuration.

Other PrimParam values (42)
Other PrimParamGet values (40)
PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force
  • integer boolean — TRUE enables, FALSE disables
  • integer softness — ranges from 0 to 3
  • float gravity — ranges from -10.0 to 10.0
  • float friction — ranges from 0.0 to 10.0
  • float wind — ranges from 0.0 to 10.0
  • float tension — ranges from 0.0 to 10.0
  • vector force

When used with llSetLinkPrimitiveParamsFast

llGetLinkPrimitiveParams(LINK_THIS, [ PRIM_FLEXIBLE ]);

Returns the same values, in the same order.

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.