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| | {{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| | {{FuncParam|x|The point at X axis.}} | ||
{{FuncParam|y| | {{FuncParam|y|The point at Y axis.}} | ||
{{FuncParam|z| | {{FuncParam|z|The point at Z axis.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns 3 float values, Pitch, Yaw, Roll}} | ||
== Example == | == Example == | ||
Line 16: | Line 18: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[RotationToVector]] |
Latest revision as of 15:44, 30 August 2020
Description
Converts the XYZ vectors into rotation.
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__