Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
Warnings * rotation part will need to be unit length for this to be right!
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
static FQuat Matrix_ToQuat
&40;
const FMatrix & M
&41;
Remarks
Transform a rotation matrix into a quaternion. (Assumes Matrix represents a transform)
rotation part will need to be unit length for this to be right!