Declaration
func LookRotation(forward Vector3, upward Vector3) Quaternion
go
Parameters
Input
Return
| Type | Description |
|---|---|
| Quaternion | The amount of rotation required to align in the specified direction |
Creates a rotation quaternion facing the specified direction
func LookRotation(forward Vector3, upward Vector3) Quaternion
go
| Type | Description |
|---|---|
| Quaternion | The amount of rotation required to align in the specified direction |