Make Rot from XZ

Make Rot from XZ

Windows
MacOS
Linux

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

Target is Kismet Math Library

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

Inputs

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

Outputs

Return Value
Rotator

Builds a matrix with given X and Z axes. X will remain fixed, Z 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