I am using QML MultiViewport example.
I would like to use OrbitCameraController
for cam1 and FirstPersonCameraController
for cam2.
Problem is that wherever I move the mouse, both cameras moves.
How do I do make OrbitCameraController
move when I move the mouse from viewport1 and FirstPersonCameraController
from viewport2 ?
I finnally manage camera changes with an QObjectPicker (implementation is cpp, but idea is the same for QML)