Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
Jump to: navigation, search
m
Line 14: Line 14:
 
|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]]
 +
*NOTE: This sets the entire object (linkset) when used in either function.
 
|i1_type=integer|i1_name=boolean
 
|i1_type=integer|i1_name=boolean
 
|toc=llSetPrimitiveParams
 
|toc=llSetPrimitiveParams

Revision as of 21:33, 23 May 2009

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.

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

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;