Make Rot from ZX

Make Rot from ZX

Windows
MacOS
Linux

Builds a matrix with given Z and X axes. Z will remain fixed, X may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized.

Target is Kismet Math Library

Make Rot from ZX
Z
X0
Y 0
Z 0
X
X0
Y 0
Z 0
Return Value
R 0
P 0
Y0

Inputs

Z
Vector (by ref)
X
Vector (by ref)

Outputs

Return Value
Rotator

Builds a matrix with given Z and X axes. Z will remain fixed, X may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss