I hope this isn’t too tricky of a question, and probably more of a sanity check than anything. Basically, I have two objects in a scene. What I want is to create an object that faces at a right angle to the line between the two objects. The objects exist on a 2d plane, so no need to worry about 3d for this.
I think I could do it two ways. I think I could find the angle between the two points, and then add/subtract 90 to that, or I could use Quaternion.LookPosition and multiply that with a Quaternion rotated 90 degrees. I don’t really know if either would work though, or if there’s a better way to do it. Any thoughts?