Quaternion.SetLookRotationfunction SetLookRotation (view : Vector3, up : Vector3 = Vector3.up) : voidDescriptionCreates a rotation that looks along forward with the the head upwards along upwards Logs an error if the forward direction is zero. |
|
||||
| Scripting > Runtime Classes > Quaternion | ||||
Quaternion.SetLookRotationfunction SetLookRotation (view : Vector3, up : Vector3 = Vector3.up) : voidDescriptionCreates a rotation that looks along forward with the the head upwards along upwards Logs an error if the forward direction is zero. |