How can I get the angle between these three points? Essentially I’m trying to rotate the left object counter-clockwise so that P2 and P1 meet. To do this I need to know the angle between them relative to P0, where P0 is considered the pivot point.

```
Vector3 side1 = p1-p0;
Vector3 side2 = p2-p0;
return Vector3.Angle(side1, side2);
```

3 Likes