Difference between revisions of "PRIM FLEXIBLE"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 16: Line 16:
|type=integer
|type=integer
|value=21
|value=21
|desc=Used to get or set the prim's flexible configuration.
|desc=Used to get or set the prim's [[flexible]] configuration.
|pa={{LSL Constant/List|i_front=[ {{#var:flexible_const}}, |i_end= ]
|pa={{LSL Constant/List|i_front=[ {{#var:flexible_const}}, |i_end= ]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]

Revision as of 10:41, 8 November 2009

Description

Constant: integer PRIM_FLEXIBLE = 21;

The integer constant PRIM_FLEXIBLE has the value 21

Used to get or set the prim's flexible configuration.

llSetPrimitiveParams

[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
• integer boolean TRUE enables, FALSE disables
• integer softness ranges from 0 to 4
• float gravity ranges from 0.0 to 10.0
• float friction ranges from 0.0 to 10.0
• float wind ranges from 0.0 to 10.0
• float tension ranges from 0.0 to 10.0
• vector force

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_FLEXIBLE ]);

Returns the list [ integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]

• integer boolean TRUE enables, FALSE disables
• integer softness ranges from 0 to 4
• float gravity ranges from 0.0 to 10.0
• float friction ranges from 0.0 to 10.0
• float wind ranges from 0.0 to 10.0
• float tension ranges from 0.0 to 10.0
• vector force

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_FLEXIBLE = 21;