Coordinate System

The Untold Game Engine implements a Left-Handed Coordinate System. It means the positive x-Axis points right, the positive y-Axis points up, and the positive z-Axis points into the screen.

image

For example, translating a character -3.0 along the z-axis, will move the character out from the screen. Here is an example:

myAstronaut->translateTo(0.0, 0.0, -3.0);

Result of translation

image

Positive rotation is clockwise about the axis of rotation as illustrated in the image below:

image

For example, rotating a character 40 degrees about the y-axis, will rotate the character clockwise:

myAstronaut->rotateTo(0.0, 40.0, 0.0);

Result of rotation

image