Setting upVector on AnaglyphArcRotateCamera breaks funcionality

When setting the upVector on an AnaglyphArcRotateCamera, the scene no longer shows.
The same code works fine for the normal ArcRotateCamera

Reproduced in simple playground: Babylon.js Playground

Hello and welcome to the Babylon community! ccing @PolygonalSun

Maybe @RaananW can help also since it’s similar to XR camera.

This camera is a rig camera, holding rig-children (which is how all of dual cameras work in babylon. WebXR included).
Upvoctor is not a property that usually changes, so we didn’t sync the two between the parent camera and its children. You will want to do that:

AnaglyphCamera bug with upVector | Babylon.js Playground (babylonjs.com)

1 Like