facing an object

Hello all,

So I need to know if one of my objects is facing another object, but not the center point of the object but the sides of the object.
For example if I use a cube when the object is in front of it i want to know if its facing the front square of the cube. And if it is facing the cube face is it looking completely at it or does it have an angle?


First I was thinking looking up the corner points of the cube and check if the object is in the area (1 of the six sides) this idea would work with a cube, but not with custom objects.
So I was thinking that I might need to check if my object is facing the normals of the uv but I’m not sure how to do this.

turns out you can just ask the normal from the uv with raycast.