So if I had a two parts on the same z axis, then how would I get the angle from one another?

Just know this isn’t using screen gui’s, this is using parts.

```
Position1 = ...
Position2 = ...
Dot = Position1:Dot(Position2)
Angle = math.acos(Dot/(Position1.Magnitude * Position2.Magnitude))
```

Note that angle will be in radians, and may need to be subtracted from 90 or pi/2 depending on if it got the right angle or not.

1 Like

doesn’t exist

03030303030

maybe it’s

```
math.acos()
```

I’ll check

edit: Yeah it should be math.acos(). I have corrected my previous post

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.