PRIM PHYSICS: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 8: | Line 8: | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|inject-2={{LSL PrimitiveParam Categorize|Object}} | |||
|name=PRIM_PHYSICS | |name=PRIM_PHYSICS | ||
|type=integer | |type=integer | ||
| Line 36: | Line 37: | ||
|events | |events | ||
|location | |location | ||
|cat1= | |cat1=Status | ||
|cat2= | |cat2=Physics | ||
|cat3 | |cat3 | ||
}} | }} | ||
Revision as of 22:14, 1 July 2012
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_PHYSICS = 3;llSetPrimitiveParams
llSetPrimitiveParams([ PRIM_PHYSICS, integer boolean ]);| • integer | boolean | – | TRUE enables, FALSE disables |
The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_PHYSICS ]);Returns the list [ integer boolean ]
| • integer | boolean | – | TRUE enables, FALSE disables |
The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.
Caveats
- calls to set PRIM_PHYSICS in attachments fail silently
Related Articles
Constants
| • | STATUS_PHYSICS |
Functions
| • | llSetPrimitiveParams | |||
| • | llSetLinkPrimitiveParams | |||
| • | llGetPrimitiveParams | |||
| • | llSetStatus | |||
| • | llGetStatus |