What's a cartesian coordinate anyway?
Cartesian coordinate is the position of a certain point given by X,Y,Z.
In SRB2, X and Y are the coords of a point where you (the player) or an object is located in the map. Z is the height. Have you never used DEVMODE or OBJECTPLACE before?
... and you see the same X,Y and Z when you're using SRB2DB too.
You're talking about the rendering of slopes in SRB2, right?
If all problems were only rendering...
Slopes in SRB2 have (or would have) two main problems:
1) Rendering: How to render flats and walls? "Everything" in SRB2 is rendered as vertical and horizontal planes.
2) Collision: Collision is, say, what makes walls, floor and ceilings solid. If a wall doesn't have collision, player can go through the wall.
How will a character or enemy walk on or fall on a sloping plan? SRB2 checks sector's height, then an object is placed according to (or relative to) sector's height.
So... player steps on sector x, its floor height is 64FU, then SRB2 places the player at Z=64FU (if the character is flying, then 64FU + a flight height). If the sector is a slope, then what's its floor height? Once a sloping plan has a variable height, it's impossible to place the object accordingly, therefore no proper collision.
Last edited: