Jump to content

Can I the engine axis ?


Recommended Posts

I have a silly question upfront:



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? :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...