Hi there,
i my scene i’ve this situation: many meshes overlap eachother and i want to select only visible meshes.
With pick event all work as expected, but with mouseOver event, the event is triggered also if the mesh is hidden by another one.
This is my PG: Babylon.js Playground
As you can see the lower box is higlighted also if i move the mouse pointer over the upper box.
I’ve tried also to using box2.isBlocker=true
but doesn’t work.
Any idea?
Thank’s
EDIT:
I can get what i need only if i register some event also on the other box: https://playground.babylonjs.com/#VLDWV0#1
Is this the right solution?