Return the Quaternion orientation corresponding to the direction in which the vector points. Similar to the FRotator version, returns a result without roll such that it preserves the up vector.
Note: If you don't care about preserving the up vector and just want the most direct rotation, you can use the faster 'FQuat::FindBetweenVectors(FVector::ForwardVector, YourVector)' or 'FQuat::FindBetweenNormals(...)' if you know the vector is of unit length.
Target is Kismet Math Library
X0
Y 0
Z 0
|
In Vec
Vector
|
|
Return Value
Quat Structure
|
Quaternion from the Vector's direction, without any roll. |