QuaternionFromDirectionZAxisUp Method (Vector3) |
Similar to Quat.LookAt( direction, Vec3.ZAxis ) with fix for vertical direction.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Quaternion FromDirectionZAxisUp(
Vector3 direction
)
Parameters
- direction
- Type: NeoAxisVector3
Return Value
Type:
QuaternionSee Also