- I have
ArcRotateCamera
in scene - I have
positionGizmo
enabled for various meshes in scene, ie. when I click any mesh, I want to have the gizmo attached on it - I want to rotate the camera while keeping the gizmo attached to the mesh which has it already attached (eg. the sphere in the PG example below)
- however when I start the camera rotation by clicking on any other mesh, the gizmo is swapped to given mesh (eg. the ground in the PG example). Starting the drag on the active mesh only is not really an option due to small size of some meshes in the real scene, and generally bad/unintuitive UX.
So my question is:
-
Is there any way how to keep the gizmo attached to given mesh no matter where I start the camera rotation?
-
a possible solution could be attaching gizmos only with LMB click, while camera rotation would work with middle click. But I cant find a way how to restrict the gizmo attaching to LMB click only. Is there such option?
Thanks.