Hi guys! Again me
I need an advice, I’m working with raycaster to pick objects but Raycaster don’t find anything. I put the axis helper and Raycaster just only find the axis. In the Example just print in console when the mouse is over axis
Do you have any idea about the problem ?
Using the recursive property as true
this.raycaster.intersectObjects(scene.children,true); find the lines and object but don’t find the text
But Crash with that property
Raycaster does not work with
CSS2DObject. Keep in mind that
CSS2DObject is just a wrapper around a HTML element. You can simply add event listeners to it in order to detect interaction.
Thank you so much! You make me thing about my code. Before I tested with event listener but doesn’t work, so I write the question to help, but seeing my code I see this line
labelRenderer.domElement.style.pointerEvents = 'none'; I say Oh no my falls
Again than you I’m learning a lot of, since create a pos to work with three.js
PD. I’ll come soon with the issue of the Raycaster on my model