UKismetSystemLibrary::MoveComponentTo

Interpolate a component to the specified relative location and rotation over the course of OverTime seconds.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Kismet/KismetSystemLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp

Syntax

static void MoveComponentTo
(
    USceneComponent * Component,
    FVector TargetRelativeLocation,
    FRotator TargetRelativeRotation,
    bool bEaseOut,
    bool bEaseIn,
    float OverTime,
    bool bForceShortestRotationPath,
    TEnumAsByte < EMoveComponentAction::Type > MoveAction,
    FLatentActionInfo LatentInfo
)

Remarks

Interpolate a component to the specified relative location and rotation over the course of OverTime seconds.

Parameters

Parameter

Description

Component

Component to interpolate

TargetRelativeLocation

Relative target location

TargetRelativeRotation

Relative target rotation

bEaseOut

if true we will ease out (ie end slowly) during interpolation

bEaseIn

if true we will ease in (ie start slowly) during interpolation

OverTime

duration of interpolation

bForceShortestRotationPath

if true we will always use the shortest path for rotation

MoveAction

required movement behavior

LatentInfo

The latent action

See Also

EMoveComponentAction

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback