VectorToRotation: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|VectorToRotation(x, y, z)}} {{FuncParameters}} {{FuncParam|x|__EDIT_ME__}} {{FuncParam|y|__EDIT_ME...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{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)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|x|The point at X axis.}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|The point at Y axis.}}
{{FuncParam|z|__EDIT_ME__}}
{{FuncParam|z|The point at Z axis.}}


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


== Example ==
== Example ==
Line 16: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[RotationToVector]]

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