Difference between revisions of "SL Cert - Basic LSL Rotations"

From Second Life Wiki
Jump to navigation Jump to search
(New page: * Basic Requirements. ** Basic definition of position *** Absolute position *** Relative position ** Basic definition of a rotation *** Euler *** Axis and angle *** Quarternions ** Chan...)
 
Line 1: Line 1:
This is an initial take on a set of guidelines for scripting position and rotations. It still needs a lot of work and a good deal of thought.


* Basic Requirements.
* Basic Requirements.

Revision as of 14:27, 21 February 2009

This is an initial take on a set of guidelines for scripting position and rotations. It still needs a lot of work and a good deal of thought.


  • Basic Requirements.
    • Basic definition of position
      • Absolute position
      • Relative position
    • Basic definition of a rotation
      • Euler
      • Axis and angle
      • Quarternions
    • Changing position and rotation via the edit window


  • Intermediate Requirements
    • Reference Frames
      • Global
      • Local
    • Basic commands to get position information
      • llGetPos
      • llGetLocalPos
      • llGetRootPosition
    • Basic commands to get rotation information
      • llGetRot
      • llGetLocalRot
      • llGetRootRotation
    • Basic commands for changing position
      • llSetPos
      • llSetPrimitiveParams
      • llSetPos within different reference frames.
    • Basic commands for changing rotation
      • llSetRot
      • llSetLocalRot
      • llSetPrimitiveParams
      • How the commands work in different reference frames.
      • Rotations
        • Multiplication and division of rotations
        • Difference between left and right multiplication
  • Advanced Requirements
    • Rotations and position
      • using llSetPrimitiveParams to move and rotate at the same time
      • Rotating and moving a prim to a specified orientation
        • Absolute coordinates
        • Relative coordinates (in a link set)
      • Smooth movements in absolute coordinates
        • Rotate and movement around the edge of a prim
        • Rotate and move around a fixed point
        • Rotate and move around a predefined axis
      • Smooth movements in local coordinates
        • Rotate and movement around the edge of a prim
        • Rotate and move around a fixed point
        • Rotate and move around a predefined axis
      • Transitions
        • Smooth movements between two different orientations