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

Game Development

4558 readers
2 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
[–] theunknownmuncher@lemmy.world 23 points 3 weeks ago (13 children)

Z-up right handed makes the most sense

[–] RedSnt@feddit.dk 4 points 3 weeks ago (11 children)

Every kid learning math has to at the very least learn X and Y coordinates for graphs. That's the reason I think Y is the natural up, it just makes more sense to be in line with what everyone already know instead of flipping it around.

[–] moonlight@fedia.io 10 points 3 weeks ago (3 children)

I disagree – I think Z up is much more natural in this sense. X,Y is a plane, and it's much more natural to think of a plane as being horizontal, especially in a 3D environment with a ground plane. Z is the third dimension, perpendicular to that plane. Think about it this way, doesn't it makes way more sense to have a map with X,Y coordinates rather than X, Z coordinates?

[–] offspec@lemmy.world 2 points 3 weeks ago (1 children)

I feel like whiteboards have gone extinct or something. All of my math lectures from grade school to uni took place on a y-up surface. I can appreciate that there are multiple ways to skin a cat, but I feel like people just argue what's most convenient for their preference in this kind of situation.

[–] Redex68@lemmy.world 1 points 3 weeks ago

Yeah you'd draw it on a vertical whiteboard, but in physics and math (or at least all the classes I had), you'd always draw a coordinate system with Z going up. I can understand why it would make sense for you to look at XY being a vertical plane, but I feel like it just makes more sense for XY to be the ground.

Also, convenience wise, especially in e.g. game dev, for 90% of use cases it's way more convenient for the first two coordinates to be the ground position and the last coordinate be the height. Whenever you're thinking of the coordinates of something, you'd probably first think about its ground position and then its height, in which case it's much simpler if those ground coords are at the start, instead of at the beginning and end of a vector.

load more comments (1 replies)
load more comments (8 replies)
load more comments (9 replies)