Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
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:
{{LSL_Constants/PrimitiveParams}}
 
{{#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=[&#32;{{#var:physics_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=integer|i1_name=boolean
}}
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:physics_const}},&#32;|i_end=&nbsp;]);|
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|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

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,  ]);

Returns the list [ integer boolean ]

• integer boolean TRUE enables, FALSE disables

Caveats


Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_PHYSICS = 3;