Fourmilab Orientation Cube Version 1.0

Details Features Contents Reviews (0)


Rotation and translation of objects in Second Life are often confusing to developers of scripts, who must deal with multiple co-ordinate systems, concepts such as vectors, axes, Euler angles, and quaternions, and operations such as vector products and rotation of vectors, and composition of rotations which do not behave like arithmetic with numbers.

Fourmilab's Orientation Cube is an object intended to aid in mastery of these concepts. It displays orientation in a simple and obvious way, compatible with the nomenclature and colour code used by the editing facilities in Second Life, and responds to commands sent on local chat which allow experimenting and demonstrating a wide variety of transformations (rotations and translations [moves]) with immediate feedback from the cube.

Because Second Life's linked prims add another level of complexity, the Orientation Cube includes a child prim, linked to the root, which can be manipulated independently by most commands. The scripts, which are delivered with full permissions and may be used without any restrictions, can serve as a “code mine” for developers who need to transform co-ordinates among the various systems used within Second Life.

Source code for this project is maintained on and available from the GitHub repository:


This product (software, documents, images, and original models) is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
You are free to copy and redistribute this material in any medium or format, and to remix, transform, and build upon the material for any purpose, including commercially. You must give credit, provide a link to the license, and indicate if changes were made. If you remix, transform, or build upon this material, you must distribute your contributions under the same license as the original.

View Video »



  • Labeled cube allows experiments with LSL rotations and translations (moves)
  • Compose rotations and translations in global or local coordinates
  • Angles can be entered and displayed in degrees or radians
  • Supports almost all LSL rotation and translation functions
  • Accepts commands via local chat; complete Undo and scripting facilities

Reviews (XX)


Visit The Store
Land Required

This item requires that you have access to land in Second Life in order to use it.

  • 0 stars Reviews (0)

  • Permissions:
    Copy Modify Transfer User Licensed
  • Automatic redelivery
  • Land Impact: 17