Difference between revisions of "PRIM PHYSICS"
Jump to navigation
Jump to search
m |
m |
||
Line 11: | Line 11: | ||
|type=integer | |type=integer | ||
|value=3 | |value=3 | ||
|desc= | |desc=Used to get or set the object's [[STATUS_PHYSICS|physics]] {{LSLGC|Status|status}}. When enabled the object responds to SL physics. | ||
|pa={{LSL Constant/List|i_front=[ {{#var:physics_const}}, |i_end= ] | |pa={{LSL Constant/List|i_front=[ {{#var:physics_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
Line 31: | Line 31: | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llGetPrimitiveParams]]|}} | {{LSL DefineRow||[[llGetPrimitiveParams]]|}} | ||
| | {{LSL DefineRow||[[llSetStatus]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llGetStatus]]|}} | ||
|events | |||
|location | |location | ||
|cat1=Object | |cat1=Object |
Revision as of 13:11, 19 July 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_PHYSICS = 3;llSetPrimitiveParams
[ PRIM_PHYSICS, integer boolean ]• integer | boolean | – | TRUE enables, FALSE disables |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
- NOTE: This sets the entire object (linkset) when used in either function.
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_PHYSICS ]);Caveats
Related Articles
Constants
• | STATUS_PHYSICS |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams | |||
• | llSetStatus | |||
• | llGetStatus |