Method SignedAngle
SignedAngle(Vector3, Vector3, Vector3)
Much more stable for small angles than Unity's native implementation
Declaration
public static float SignedAngle(Vector3 v1, Vector3 v2, Vector3 up)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | v1 | |
| Vector3 | v2 | |
| Vector3 | up |
Returns
| Type | Description |
|---|---|
| float |