Hi all, I’m using DragControls to drag some objects, I’ve multiple DragControls since I’ve different ‘drag’ callback on different objects.
The problem is that when two elements are one behind the other in the current camera/OrbitControl settings both ‘drag’ callback are called.
I don’t want to drag an element if there’s another one in front of.
The effect is similar to this example, but I cannot use one single DragControls to all the elements since I’ve different ‘drag’ callbacks…
I hope I made myself clear Any ideas?
Thanks!!