I’ve found several methods for finding the angle between points up to 180 (disregarding direction).
abs(acos (dot (normalize (p1-[0,0,0])) (normalize (p2-[0,0,0]))))
But I can’t figure out how I can specify that I want to retrieve the angle in one direction, so that it can go past 180 degrees. What kind of modification would I need to do so that it returns the angle in one direction, or possibly returning both directions?
EDIT: So I figured out that I could just return (360-degrees) if p2.x is negative, which works. But if there’s a better way to just return both sides of an angle I’m all ears