I have two scenes, in both the camera used is an instance of an Orthographic camera.
Both the scenes have a mesh object at the center of the div with which I’ve attached a helper object using which we can rotate the object clockwise or anticlockwise based on ‘mousemove’ action.
Now if I rotate the object in first view using the rotation helper, then the camera1 should rotate on the object facing axis(Action1) ,and the camera2 in second view should revolve around the object based on object local axis (Action 2). Similar action will happen if we perform rotate action in the other view. In short, we’ll rotate the mesh and in other scene camera should orbit around the mesh .
Action 1:
Action 2:
I’m not finding any appropriate approach to do this, some guidance would be helpful