PRIM FLEXIBLE: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
{{LSL_Function/boolean|boolean}} | |||
}}{{LSL Constant | }}{{LSL Constant | ||
Revision as of 19:49, 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 | – | 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([ PRIM_FLEXIBLE ]);
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 |