Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 33: Line 33:
{{LSL DefineRow||[[changed]]|}}
{{LSL DefineRow||[[changed]]|}}
|location
|location
|cat1=Prim
|cat1=Object
|cat2=Status
|cat2=Status
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 01:27, 24 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

Caveats


Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_PHYSICS = 3;