I followed this tutorial on object selection. However, when I import my .obj assets and try to select/highlight them, it appears that the raycaster does not pick them up. Nothing happens when my mouse clicks on my .obj object. I added the necessary colliders (box collider even mesh collider) and nothing happens.
What am I doing wrong?
I didn’t change the code from the source provided. I just imported my object file to the scene and added the necessary physics.
All I want to do is highlight my .obj file onMouseDown. Is there anything I’m supposed to do to my imported object before rendering?