Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 26: Line 26:
|examples=
|examples=
|constants=
|constants=
{{LSL DefineRow||[[STATUS_PHYSICS]]|}}
|functions=
|functions=
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
Line 35: Line 36:
|cat1=Object
|cat1=Object
|cat2=Status
|cat2=Status
|cat3
|cat3=Physics
|cat4
|cat4
}}
}}

Revision as of 02:11, 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

Constants

•  STATUS_PHYSICS

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_PHYSICS = 3;