Difference between revisions of "PRIM OMEGA"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
{{!}} [ {{#var:omega_const}} ] | {{!}} [ {{#var:omega_const}} ] | ||
{{!}} {{#var:return}} }} | {{!}} {{#var:return}} }} | ||
{{#vardefine:caveats|* '''Only on RC BlueSteel [[Release Notes/Second Life RC BlueSteel/11#11.06.20.233291|as of 2011-06-22]]'''}} | |||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
Line 26: | Line 28: | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:omega_const}} ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:omega_const}} ]);| | ||
|r_front=Returns the [[list]] [ |r_end= ] | |r_front=Returns the [[list]] [ |r_end= ] | ||
|text | |text='''Caveats:''' | ||
{{#var:caveats}}{{#vardefine:caveats}} | {{#var:caveats}}{{#vardefine:caveats}} | ||
|toc=llGetPrimitiveParams | |toc=llGetPrimitiveParams | ||
|r1_type=vector|r1_name=axis | |r1_type=vector|r1_name=axis |
Revision as of 02:25, 22 June 2011
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_OMEGA = TBD;The integer constant PRIM_OMEGA has the value TBD
Used to make the object spin at the specified axis and rate, or retrieve spin settings.
llSetPrimitiveParams
[ PRIM_OMEGA, vector axis, float spinrate, float gain ]• vector | axis | |||
• float | spinrate | |||
• float | gain |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_OMEGA ]);Returns the list [ vector axis, float spinrate, float gain ]
• vector | axis | |||
• float | spinrate | |||
• float | gain |
Caveats:
- Only on RC BlueSteel as of 2011-06-22
Caveats
Related Articles
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams | |||
• | llTargetOmega |