Coordinates
The class that represents universe coordinates. Provides the ability to do mathematical operations on coordinates, such as addition, subtraction and even multiplication.
InPlanet
Whether the coordinates are within a planet's atmosphere.
It is of the type boolean
.
SolarCoordinates
The coordinates within the solar system, i.e., the coordinates relative to the parent star or black hole.
It is of the type Vector2
.
UniverseCoordinates
The coordinates in the universe, i.e., the coordinates of the solar system.
It is of the type Vector2
.
Luau Type
This is the luau type for Coordinates
. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type Coordinates = typeof(setmetatable(
{} :: {
InPlanet: boolean,
SolarCoordinates: Vector2,
UniverseCoordinates: Vector2,
},
{} :: CoordinatesMetatable
))