Difference between revisions of "PRIM FLEXIBLE"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:flexible_const|{{LSL Const|PRIM_FLEXIBLE|integer|21|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's flexible configuration}}}} | |||
<!-- A big of a hack but nobody has noticed thus far ~_~ --> | |||
{{#vardefine:p_flex_float_desc|ranges from 0.0 to 10.0}} | |||
{{#vardefine:p_force_desc|}} | |||
{{#vardefine:p_softness_desc|ranges from 0 to 4}} | |||
}}</onlyinclude>{{#if: | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_FLEXIBLE | |name=PRIM_FLEXIBLE | ||
|type=integer | |type=integer | ||
|value=21 | |value=21 | ||
|desc= | |desc=Used to get or set the prim's flexible configuration. | ||
|pa={{LSL Constant/List|i_front=[  | |pa={{LSL Constant/List|i_front=[ {{#var:flexible_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=integer|i1_name=boolean | |i1_type=integer|i1_name=boolean | ||
Line 16: | Line 25: | ||
|i7_type=vector|i7_name=force | |i7_type=vector|i7_name=force | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ | |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= ] | ||
|text | |text |
Revision as of 19:42, 17 April 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.
[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]• integer | boolean | |||
• 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([ PRIM_FLEXIBLE ]);
llGetPrimitiveParams([ PRIM_FLEXIBLE ]);Returns the list [ integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
• integer | boolean | |||
• 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 |