Calculate Direction

Calculate Direction

Windows
MacOS
Linux

Returns degree of the angle betwee velocity and Rotation forward vector The range of return will be from [-180, 180], and this can be used to feed blendspace directional value

Target is Anim Instance

Calculate Direction
Target
Select Asset
Velocity
X0
Y 0
Z 0
Base Rotation
R 0
P 0
Y0
Return Value
0.0

Inputs

Target
Anim Instance Object Reference
Velocity
Vector (by ref)
Base Rotation
Rotator (by ref)

Outputs

Return Value
Float

Returns degree of the angle betwee velocity and Rotation forward vector The range of return will be from [-180, 180], and this can be used to feed blendspace directional value

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss