In my project, I have a complex scene composed of multiple meshes, each assigned to a unique transformControl. To select different objects in the scene, I rely on raycasting techniques. Additionally, I utilize an orbit camera for navigating through the scene.
However, I've encountered an issue where when I adjust the position, rotation, or scale of an object using the transform control, the orbit camera remains active. This poses a problem as sometimes I inadvertently click on the background of the scene while selecting an object, causing the orbit camera to move unexpectedly.
I have attempted to resolve this issue by implementing various raycasting techniques, but unfortunately, none have been successful in preventing the unwanted behavior. If anyone has any suggestions or alternative solutions, I would greatly appreciate it.