This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
coordinate [2017/05/29 14:52] – justin | coordinate [2021/04/21 20:12] (current) – justin | ||
---|---|---|---|
Line 7: | Line 7: | ||
====Example: | ====Example: | ||
- | < | + | < |
coord[3, -2, 10] | coord[3, -2, 10] | ||
</ | </ | ||
Line 13: | Line 13: | ||
The example above represents the position 3 tiles to the east, 2 tiles to the north, and 10 voxels above the center of the map, or more specifically at the base of the tile with coordinate (3, -2, 10) as displayed in the Map Editor. | The example above represents the position 3 tiles to the east, 2 tiles to the north, and 10 voxels above the center of the map, or more specifically at the base of the tile with coordinate (3, -2, 10) as displayed in the Map Editor. | ||
- | In certain cases (for example when supplied to the [[Move Camera]] and [[Look At Target]] functions and their variations), the X, Y, and Z coordinate values can be specified as decimals with fractional parts in order to fine tune the 3D position. | + | In certain cases (for example when supplied to the [[Move Camera]] and [[Look At Target]] functions and their various counterparts), the X, Y, and Z coordinate values can be specified as decimals with fractional parts in order to fine tune the 3D position. |
====Example: | ====Example: | ||
- | < | + | < |
coord[0.5, 0.5, 24] | coord[0.5, 0.5, 24] | ||
</ | </ |