UKismetMathLibrary::RInterpTo_Constant

Tries to reach Target rotation at a constant rate. [FRotator](API\Runtime\Core\Math\FRotator)

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 FRotator RInterpTo_Constant
(
    FRotator Current,
    FRotator Target,
    float DeltaTime,
    float InterpSpeed
)

Remarks

Tries to reach Target rotation at a constant rate.

FRotator

Returns

New interpolated position

Parameters

Parameter

Description

Current

Actual rotation

Target

Target rotation

DeltaTime

Time since last tick

InterpSpeed

Interpolation speed

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