this post was submitted on 06 Jun 2025
181 points (98.9% liked)

Game Development

4484 readers
13 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 week ago (3 children)

Z is depth. Why should it ever be up? Honest question.

[–] [email protected] 1 points 1 day ago

Camera space vs world space.

Personally z up is the only one that makes sense.

[–] egerlach 6 points 1 week ago (1 children)

It depends if you view the X-Y plane as the camera/viewport/screen or the ground. If X-Y is the ground, then Z is either up or down.

[–] [email protected] 1 points 1 week ago
[–] [email protected] 2 points 1 week ago

For cameras, the convention is Z depth but right handed:

  • X rightward / pixel column from the left
  • Y downward / pixel row from the top