VectorToRotation: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|Converts the XYZ vectors into rotation.}}
{{FuncDescription|Converts the XYZ vectors into rotation.
 
https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_VectorToRotator/index.html}}


{{FuncSyntax|VectorToRotation(x, y, z)}}
{{FuncSyntax|VectorToRotation(x, y, z)}}
Line 10: Line 12:
{{FuncParam|z|The point at Z axis.}}
{{FuncParam|z|The point at Z axis.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns 3 float values, Pitch, Yaw, Roll}}


== Example ==
== Example ==

Latest revision as of 15:44, 30 August 2020

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