VectorToRotation

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
VectorToRotation

Type: Function
Context: Client
Introduced: v1.0

Description

Converts the XYZ vectors into rotation.

https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_VectorToRotator/index.html

Syntax

VectorToRotation(x, y, z)

Parameters

  • x
    The point at X axis.
  • y
    The point at Y axis.
  • z
    The point at Z axis.

Return Value

  • Returns 3 float values, Pitch, Yaw, Roll

Example

__EDIT_ME__

See also