Difference between revisions of "PRIM FLEXIBLE"
Jump to navigation
Jump to search
m |
|||
Line 19: | Line 19: | ||
|pa={{LSL Constant/List|i_front=[ {{#var:flexible_const}}, |i_end= ] | |pa={{LSL Constant/List|i_front=[ {{#var:flexible_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|toc=llSetPrimitiveParams | |||
|i1_type=integer|i1_name=boolean | |i1_type=integer|i1_name=boolean | ||
|i2_type=integer|i2_name=softness | |i2_type=integer|i2_name=softness | ||
Line 29: | Line 30: | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:flexible_const}}|i_end= ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:flexible_const}}|i_end= ]);| | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|toc=llGetPrimitiveParams | |||
|text | |text | ||
|r1_type=integer|r1_name=boolean | |r1_type=integer|r1_name=boolean |
Revision as of 10:00, 23 May 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_FLEXIBLE = 21;The integer constant PRIM_FLEXIBLE has the value 21
Used to get or set the prim's flexible configuration.
llSetPrimitiveParams
[ 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 4 | |
• float | gravity | – | ranges from 0.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 llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_FLEXIBLE ]);Returns the list [ 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 4 | |
• float | gravity | – | ranges from 0.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 |
Caveats
Related Articles
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |