Advertisement Jump to content
Sign in to follow this  

Transforming world axies?

This topic is 4906 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok I have a simple little question and want to see if i am looking at the problem correctly. I am creating a 2D iso engine that is well a little more then 2D more like 2.5 D so to speak because of the way I want the coords set up. Is it possible to transform the world axies of X Y and Z to look like the following.
\  |  /
 \ | /
Z /|\  X
 / | \ 
/  |  \ 

Sorry for the rough sketch. Now Y is vertical, X is down and right and Z is down and left. Well if I use left handed Pos Y is Vert up Pos X is down and right and -Z is down and left. If this is possible would it be practical to set this up by just moving the camera 45 degrees to the right. Here is the theory I am looking at. Normaly x is strait across making it 180 and Y is vert spliting it into 90 and Z goes into the screen spliting x into 90. So if I start the camera looking at (0, 0) and looking down pos Z then a simple movement of 45 degees rotation to the right around the y axis as the focal of the rotation point should positoin the camera looking like the diagram above. I hope I did not lose you in my poor words lol. Does this make sense and will it get me to where I want to be? My idea is that I can use Z and X coords to position the tiles and then Y to designate the hight of the tile itself so I can create real hills and such.

Share this post

Link to post
Share on other sites
yes I would want it looking to the left because that will move the camera to the right :P. Thanks I knew I was on the right track just making shure lol.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!