How to get world rotation reference from 2 points?

I have a point (shown in red) surrounded by 3 other points (orange).
I want to get some kind of world relative rotation value based on the red point, 360 degrees around it, like a compass pointing north, south, east and west…

Not getting the results I need using Find Look at Rotation, value 123 might make sense if it were 57 degrees instead.

ACOSd functions… what? 30 and 40 degrees from what?

Maybe you can use “Get Unit Direction Vector” to find the direction of any orange point from the red point.

213529-ss.png

This was the best I could come up with to get 360 degrees, with angle offset to world center.

Ugh, still not getting the results needed, spinning my wheels, literally.
Any combination I come up with simply rotates the degree values of the orbiting points, whereas I need some kind of incremental inversion so the orbit point farthest from world center has a rotation value of 0.

Figured it out. Not inverting both rotators was tripping me up. Original values shown in black, modified for intended purposed shown in orange.

1 Like