Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:physics_const|{{LSL Const|=PRIM_PHYSICS|integer|3|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the objects physical status}}}}
{{#vardefine:physics_const|{{LSL Const|PRIM_PHYSICS|integer|3|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the object's physical status}}}}


}}<onlyinclude>{{#if:
}}</onlyinclude>{{#if:


{{LSL_Function/boolean|boolean}}
{{LSL_Function/boolean|boolean}}
Line 16: Line 16:
|i1_type=integer|i1_name=boolean
|i1_type=integer|i1_name=boolean
}}
}}
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:physics_const}},&#32;|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:physics_const}}|i_end=&nbsp;]);|
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text

Revision as of 20:24, 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.

[ PRIM_PHYSICS, integer boolean ]

[ PRIM_PHYSICS, integer boolean ]
• integer boolean TRUE enables, FALSE disables

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams([ PRIM_PHYSICS ]);

llGetPrimitiveParams([ PRIM_PHYSICS ]);

Returns the list [ integer boolean ]

• integer boolean TRUE enables, FALSE disables

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_PHYSICS = 3;