Difference between revisions of "Coordinates"

From Minetest Wiki
Jump to navigation Jump to search
(Undo revision 12510 by Pbr18 (talk))
(Ajout du template Languages)
Line 1: Line 1:
 +
{{Languages}}
 +
 
The [[Minetest]] world is a large cube. And because of this, a position in the world can be easily expressed with Cartesian '''coordinates'''. That is, for each position in the world, there are 3 values X, Y and Z.
 
The [[Minetest]] world is a large cube. And because of this, a position in the world can be easily expressed with Cartesian '''coordinates'''. That is, for each position in the world, there are 3 values X, Y and Z.
  

Revision as of 23:02, 12 December 2016

Languages Language: English • Deutsch • français

The Minetest world is a large cube. And because of this, a position in the world can be easily expressed with Cartesian coordinates. That is, for each position in the world, there are 3 values X, Y and Z.

Like this: (5, 45, -12)

This refers to the position where X=5, Y=45 and Z=-12. The 3 letters are called “axes”: Y is for the height. X and Z are for the horizontal position.

The values for X, Y and Z work like this:

  • If you go up, Y increases
  • If you go down, Y decreases
  • If you follow the sun, X increases
  • If you go to the reverse direction, X decreases
  • Follow the sun, then go right: Z increases
  • Follow the sun, then go left: Z decreases
  • The side length of a full cube is 1

You can view your current position in the debug screen (open with F5). This is considered cheating in some games.