Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.16 KB

view_coordinates.md

File metadata and controls

36 lines (25 loc) · 1.16 KB
title
ViewCoordinates

How we interpret the coordinate system of an entity/space.

For instance: What is "up"? What does the Z axis mean? Is this right-handed or left-handed?

The three coordinates are always ordered as [x, y, z].

For example [Right, Down, Forward] means that the X axis points to the right, the Y axis points down, and the Z axis points forward.

The following constants are used to represent the different directions:

  • Up = 1
  • Down = 2
  • Right = 3
  • Left = 4
  • Forward = 5
  • Back = 6

Fields

  • coordinates: 3x u8

API reference links

Used by