Infront, Behind, Left or Right

Hello!

I am trying to check if something is infront, behind, left, right etc…

I’m trying to write a traffic system for my Background NPCs module and need a way to check if a road is in any of those four directions from itself.

I have tried raycasting and converting from a normal vector to a normal id and then realized that it was getting the normal id of the thing we hit, which was a mistake on my part. I want to avoid using four raycasts to keep it optimized, but I’ll still use it if I have to.

Thanks.