Difference between revisions of "PRIM FLEXIBLE"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#if:
<onlyinclude>{{#if:
{{LSL_Constants/PrimitiveParams}}
 
{{#vardefine:flexible_const|{{LSL Const|PRIM_FLEXIBLE|integer|21|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's flexible configuration}}}}
 
<!-- A big of a hack but nobody has noticed thus far ~_~ -->
{{#vardefine:p_flex_float_desc|ranges from 0.0 to 10.0}}
{{#vardefine:p_force_desc|}}
{{#vardefine:p_softness_desc|ranges from 0 to 4}}
 
}}</onlyinclude>{{#if:
 
}}{{LSL Constant
}}{{LSL Constant
|name=PRIM_FLEXIBLE
|name=PRIM_FLEXIBLE
|type=integer
|type=integer
|value=21
|value=21
|desc=PRIM_FLEXIBLE is 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=[&#32;[[PRIM_FLEXIBLE]],&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:flexible_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=integer|i1_name=boolean
|i1_type=integer|i1_name=boolean
Line 16: Line 25:
|i7_type=vector|i7_name=force
|i7_type=vector|i7_name=force
}}
}}
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;[[PRIM_FLEXIBLE]]|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:flexible_const}}|i_end=&nbsp;]);|
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text

Revision as of 20:42, 17 April 2008

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.

[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]

[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
• integer boolean
• 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([ PRIM_FLEXIBLE ]);

llGetPrimitiveParams([ PRIM_FLEXIBLE ]);

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

• integer boolean
• 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;