I’m working with the asteroids demo and i noticed something very odd, the x,y coordinates are really the x,z coordinates.
I see this going on
obj.setPos(pos.getX(), depth, pos.getY())
So even though it’s using “getY” it’s loading it into the z-position, and the depth is loaded into the Y coordinate.
That tells me that the “Y” axis on the screen is really the Z-axis and the Y-axis is going into (or out of) the screen.
Now we finally get to my question. I can’t seem to figure out if that’s the default or whether the program has set it up that way. At this point i’m relatively sure that this is not being set.
1 is the cordinate system x-z the default ?
2 how do i change it so that x-y is the surface and z is the into/out-of the screen ?