I’m working on a project which has a div in front of my render canvas.
I’m using the actionmanager to detect some onpointerovertrigger and OnPointerOutTrigger events which works great.
The problem is that when I’m over the trigger object but slides my mouse on the div (which is over my canvas with a position absolute and high z-index) then the onpointerouttrigger doesn’t trigger.
Is that normal? is there a way to force the onpointerouttrigger to trigger when the canvas loses focus or when I detect a mouseover my div?
I created a playground based on the onpointerovertrigger example. I added a div in front of the canvas.
Rotate the perspective so that one of the objects line up with the red div, then move your mouse over the 3d object to trigger onpointerover and slide your mouse over the red div. You’ll see that the 3d object stays highlighted.
I hope that this makes sense. Let me know if you have any questions.