As an experienced COBOL programmer delving into the world of Javascript and Three.js for a personal project, I've been grappling with a particular question for the past couple of days. Despite scouring StackOverflow for answers related to OrbitControls, I haven't found a solution that fits my specific needs. Any assistance would be greatly appreciated.
The scene I'm working on resembles the image linked below:
https://i.sstatic.net/9hgnf.png
Here's what my current script looks like:
// Code snippet goes here
While the OrbitControl works well when the mouse is over the rendered materials, I am trying to restrict its functionality to only work when the mouse hovers over a specific green div overlaying the scene. I've experimented with various parameters in OrbitControl and attempted to implement onMouseOver functions associating with the div, but nothing seems to achieve the desired result. Is it even possible to accomplish this? If so, can someone point me in the right direction?
Thank you in advance for your help!