RotationToVector: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html}} | https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html}} | ||
{{FuncSyntax|RotationToVector( | {{FuncSyntax|RotationToVector(rx, ry, rz)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam| | {{FuncParam|rx|The rotation at X axis.}} | ||
{{FuncParam| | {{FuncParam|ry|The rotation at Y axis.}} | ||
{{FuncParam| | {{FuncParam|rz|The rotation at Z axis.}} | ||
{{FuncReturnValue|Returns 3 float values, | {{FuncReturnValue|Returns 3 float values, RX, RY, RZ}} | ||
== Example == | == Example == |
Revision as of 08:55, 9 July 2021
Description
Converts the given rotation into XYZ vectors.
Syntax
RotationToVector(rx, ry, rz)
Parameters
- rx
The rotation at X axis. - ry
The rotation at Y axis. - rz
The rotation at Z axis.
Return Value
- Returns 3 float values, RX, RY, RZ
Example
__EDIT_ME__