Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rotations [2020/04/10 17:57] paul |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Rotations ====== | ||
- | |||
- | Unity uses 3 rotation systems. | ||
- | |||
- | 1. Euler Angers - rotation about x, y, z axis | ||
- | 2. Axis Angle - A normalized Vector3 | ||
- | 3. Quaternions | ||
- | |||
- | |||
- | Converter from Quaternion to Euler: | ||
- | <code c#> | ||
- | Vector3 inEuler = quaternionRotation.eulerAngles; | ||
- | </ | ||