Difference between revisions of "PRIM PHYSICS"
Jump to navigation
Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_PHYSICS |type=integer |value=3 |desc=Boolean that sets whether the object responds to SL physics. |examples= |constants...) |
|||
Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:physics_const|{{LSL Const|=PRIM_PHYSICS|integer|3|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the objects physical status}}}} | |||
}}<onlyinclude>{{#if: | |||
{{LSL_Function/boolean|boolean}} | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_PHYSICS | |name=PRIM_PHYSICS | ||
Line 6: | Line 12: | ||
|value=3 | |value=3 | ||
|desc=Boolean that sets whether the object responds to SL physics. | |desc=Boolean that sets whether the object responds to SL physics. | ||
|pa={{LSL Constant/List|i_front=[ {{#var:physics_const}}, |i_end= ] | |||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |||
|i1_type=integer|i1_name=boolean | |||
}} | |||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:physics_const}}, |i_end= ]);| | |||
|r_front=Returns the list [ |r_end= ] | |||
|text | |||
|r1_type=integer|r1_name=boolean | |||
}} | |||
|examples= | |examples= | ||
|constants= | |constants= | ||
Line 16: | Line 31: | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim | ||
|cat2 | |cat2=Status | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 19:20, 17 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_PHYSICS = 3;The integer constant PRIM_PHYSICS has the value 3
Boolean that sets whether the object responds to SL physics.
[ integer, integer boolean ]
[ integer, integer boolean ]• integer | boolean | – | TRUE enables, FALSE disables |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams([ integer, ]);
llGetPrimitiveParams([ integer, ]);Caveats