X3MC2 Posted January 2, 2017 Share Posted January 2, 2017 I need to set the X axis as Z and vice versa, so everything should be ZYX instead of XYZ, is it possible ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted January 2, 2017 Share Posted January 2, 2017 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? Quote Link to comment Share on other sites More sharing options...
dbawel Posted January 4, 2017 Share Posted January 4, 2017 no Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 4, 2017 Share Posted January 4, 2017 I know that Babylon has a left or right axis system, but I do not see the interest in having the axis x become the z. Maybe with more explanation we could better understand what you want to do. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.