LSL Wiki Mirror 10-5-2006: flexible

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::

Flexible


Since SL 1.9.1, a prim can be made flexible. Flexible prims ("flex prims") are a client-side effect and are automatically made phantom and non-physical. However, flex prims can be linked to a solid, physical root prim and will, thus, take on those properties as well (though it's buggy).

Constants
llSetPrimitiveParams PRIM_FLEXIBLE parameter to toggle a prim's flexibility on/off, softness (rigidity), gravity, friction/drag, wind, tension, and force:
llSetPrimitiveParams([PRIM_FLEXIBLE,1,2,.3,2,0,1,<0,0,0>]);

Notes:


Prim
There are 7 comments on this page. [Display comments/form]