RotationToVector: Difference between revisions

From Onset Developer Wiki
No edit summary
Voltaism (talk | contribs)
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(x, y, z)}}
{{FuncSyntax|RotationToVector(rx, ry, rz)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|The point at X axis.}}
{{FuncParam|rx|The rotation at X axis.}}
{{FuncParam|y|The point at Y axis.}}
{{FuncParam|ry|The rotation at Y axis.}}
{{FuncParam|z|The point at Z axis.}}
{{FuncParam|rz|The rotation at Z axis.}}


{{FuncReturnValue|Returns 3 float values, X, Y, Z}}
{{FuncReturnValue|Returns 3 float values, RX, RY, RZ}}


== Example ==
== Example ==

Revision as of 08:55, 9 July 2021

RotationToVector

Type: Function
Context: Client
Introduced: v1.0

Description

Converts the given rotation into XYZ vectors.

https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html

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__

See also