User Tools

Site Tools


coordinate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
coordinate [2017/05/29 14:44] justincoordinate [2017/05/29 14:52] justin
Line 2: Line 2:
 ---- ----
  
-A **coordinate** is a scripting data type that represents a 3D position within the current map and is written as //coord[x, y, z]//. The X and Y values correspond to the horizontal position and are measured in tile units, while the Z value corresponds to the vertical position and is measured in voxel units. Each tile within a map has its own unique coordinate based on where it was placed when building the map.+A **coordinate** is a scripting data type that represents a 3D position within the current map and is written as //coord[x, y, z]//. The X and Y values correspond to the horizontal position and are measured in tile units, while the Z value corresponds to the vertical position and is measured in voxel units. Each tile, object, and character within a map has its own coordinate based on its placement within the map. 
 + 
 +{{:wiki:coordinate_example.png?nolink|}}
  
 ====Example:==== ====Example:====
coordinate.txt · Last modified: 2021/04/21 20:12 by justin