Currently, I am showcasing three objects on the screen that can be selected by a click (I am only changing their color upon clicking at the moment). My goal is to have the selected object come to the forefront of the camera when left-clicked (including rotating and scaling it in a smooth animation). Alternatively, when the user right-clicks on the screen, the object should return to its default position.
I have tried searching online for terms like zoom object and focus object, but haven't found any solutions that fit my specific scenario as described above.
If anyone could provide me with some basic concepts on how to achieve this using THREE.js, I would greatly appreciate it.
Thank you, ZB