VectorToRotation

From Onset Developer Wiki
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