Sign in to follow this  
X3MC2

Can I the engine axis ?

Recommended Posts

I have a silly question upfront:

Why?....

 

I understand you want to switch the Z and the X. If you leave the Y as the up vector (which is fixed), you can always rotate your camera 90 degs to the right or left, and then Z is the axis parallel to your screen, and X is the depth. 

This is obviously a hack. Babylon.js has a predefined axis system, and it is hard to change it globally. A lot of the different systems )for example the inputs of the cameras) are set to use this axis system.

But maybe someone else has a better solution? :) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.