Difference between revisions of "PRIM PHYSICS"

From Second Life Wiki
Jump to: navigation, search
m
m
Line 15: Line 15:
 
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
 
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
 
|i1_type=integer|i1_name=boolean
 
|i1_type=integer|i1_name=boolean
 +
|toc=llSetPrimitiveParams
 
}}
 
}}
 
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:physics_const}}|i_end= ]);|
 
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:physics_const}}|i_end= ]);|
Line 20: Line 21:
 
|text
 
|text
 
|r1_type=integer|r1_name=boolean
 
|r1_type=integer|r1_name=boolean
 +
|toc=llGetPrimitiveParams
 
}}
 
}}
 
|examples=
 
|examples=

Revision as of 11:15, 23 May 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.

llSetPrimitiveParams

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

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

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;