Hello Members,
I have loaded 2 .obj file. After clicking on object I want to display pop up message near to that obj. In that pop up i want to display unique name or id.
Just out of curiousity, do you offer to write all the code for you?
Did you try to use THREE.Raycaster()
? There are many questions and answers on Stackoverflow about the thing you ask.
Besides, r71 was good for the time when it was released, but then Three.js was seriously improved and from my point of view it’s better to use its latest revision (r88).
@prisoner849, I cant use r88, I am in last of the stage, for that I have to modify my code. I searched in Stackoverflow but not getting for Loaders
Okay, r71 has THREE.Raycaster()
, so you can use it.
If “trying using rayCaster” means just to instantiate a raycaster, then it’s not enough. Please, take a look at the official examples of how to interact with objects in a scene https://threejs.org/examples/?q=interactive#webgl_interactive_cubes
Try to combine your code with mine yourself.
Yes, I m doing different task , I will work on it soon, I copied code, now u can remove