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

Game Development

4449 readers
16 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
[–] RedSnt@feddit.dk -2 points 1 week ago (20 children)

Why on earth was it ever Z-up?

[–] IrateAnteater@sh.itjust.works 71 points 1 week ago (4 children)

Because a flat surface is an x-y plane. The ground is a "flat" surface, and so the z dimension is height.

For me, that's the only way that makes sense. But I program robots for a living, so I'm used to dealing with coordinate systems where the flat reference is the ground. Programmers seem to be using the screen as the flat reference. If I were building a game world, I'd probably use z-up convention.

[–] popcar2@programming.dev 5 points 1 week ago* (last edited 1 week ago)

Yeah, it depends on whether you expect the 2D view to be on the floor or on the wall. If it's on the floor, Z is up. If it's on the wall, Z is forwards & backwards (depth). Personally I think it being on the wall makes way more sense since we already expect from 2D view that Y is up and down, it feels weird to shift it to forwards & backwards when switching to 3D.

load more comments (3 replies)
load more comments (18 replies)