My raycaster seems to be detecting all my objects but in a flipped manner. It works fine when I add a cube without changing its position, but as soon as I move the cube up, the ray-casting goes downwards. Does anyone have a solution for this issue?
Currently, the ray-casting is logging to console on mouse over. Initially, I suspected it was a problem with Blender, but testing it with a regular cube also resulted in the same flip.
[Code Snippet]