UKismetMathLibrary::FixedTurn

Returns a new rotation component value

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static float FixedTurn
(
    float InCurrent,
    float InDesired,
    float InDeltaRate
)

Remarks

Returns a new rotation component value

Returns

a new rotation component value clamped in the range (-360,360)

Parameters

Parameter

Description

InCurrent

is the current rotation value

InDesired

is the desired rotation value

is

the rotation amount to apply

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