On the 3D scene 15 objects moving right. How to get object position when mouse on left side and height of this object? (see screnshot below)
My idea is put trigger and use onMouseOver but its looks like dirty way, any better suggestions?
Get both objects in screen space and compare.
if (mousePointerScreenSpace.x > objectScreenSpace.x){
//mouse is to the right
}