PRIM PHYSICS

From Second Life Wiki
Revision as of 14:53, 13 April 2010 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Description

Constant: integer PRIM_PHYSICS = 3;

The integer constant PRIM_PHYSICS has the value 3

Used to get or set the object's physics status. When enabled the object responds to SL physics.

llSetPrimitiveParams

llSetPrimitiveParams([ PRIM_PHYSICS, integer boolean ]);
• integer boolean TRUE enables, FALSE disables

The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_PHYSICS ]);

Returns the list [ integer boolean ]

• integer boolean TRUE enables, FALSE disables

The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_PHYSICS = 3;