Jump to content

ArcRotateCamera and upVector (Z-axis pointing up)


Janx
 Share

Recommended Posts

Hi, 

I would like to use a right handed coordinate system (thanks for adding support for that in 2.5) with the Z-axis pointing upwards. I tried to set the upVector for ArcRotateCamera, but the Z-Axis isn't pointing upwards afterwards and the mouse control is acting weird. Here is an example: http://www.babylonjs-playground.com/#D4CDS

Am I missing something?

Thanks,
Jan

Link to comment
Share on other sites

Hi Deltakosh,

thanks for your reply. I found this old thread were @chadautry tried the same and it seems that he got it working, by switching y and z in two locations. I suppose his PR was never submitted? I guess the lines he linked to have changed by now. Do you think it would be still quite easy to pull it off, or has the camera changed that much?

Many thanks,
Jan

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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