In 3D, every object has a Position (where it is) and a Rotation (how it's oriented).
These are defined using three axes: X, Y, and Z.
Explore these concepts hands-on with the interactive cube below.
As you adjust the sliders, observe how the cube responds.
Position
0.00
0.00
0.00
Rotation (Degrees)
0.00
0.00
0.00
Understanding the controls
Position
- X: Moves the cube Left (-) / Right (+).
- Y: Moves the cube Down (-) / Up (+).
- Z: Moves the cube Closer (-) / Further (+).
Rotation
Defines how the cube is tilted around each axis.
- Rotation X (Pitch): Tilts the cube's "front" Up / Down (like nodding "yes").
- Rotation Y (Yaw): Turns the cube Left / Right (like shaking "no").
- Rotation Z (Roll): Tilts the cube Side-to-Side (like tilting your head).
Challenges
Now, try these challenges using the demo:
- Place the cube in the top-left-far corner of its movement range.
- Make the cube lie flat on one of its sides, with its original "top" surface pointing towards you.
- Position the cube as if it's a car on the ground, facing right.
Mastering these transformations is the first step to creating dynamic 3D scenes!