Update
I found this math which seems to work, the results aren’t perfect but it works well enough for me.
float dot = Vector3.Dot(transform.forward, (other.position - transform.position).normalized);
Here’s a picture of my graph
1 Like