0 votes

Hello! Im BAD at math.

So i was sneaking around and found a "2D Game" that was built around a 3D Space with Orthographic camera. Noww, i was told the game was based on a camera aligned in the z axis with the use of a skewed coordinate system.... yeah..

NOW! I did some experimentation and what i came up with was a weird
player's Y = -sin(angle) * Z where the angle is the inclination of the floor poly. So i tilted a polygon by a set angle and modified Y translation based on its Z translation... It kind of worked on the 120 degrees but other than that, i got nothing.

So how could i come up with a way to have depth on an orthographic projection by hacking space?

in Engine by (82 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.