URotatingMovementComponent

Performs continuous rotation of a component at a specific rotation rate.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/RotatingMovementComponent.h

Include

#include "GameFramework/RotatingMovementComponent.h"

Syntax

class URotatingMovementComponent : public UMovementComponent

Remarks

Performs continuous rotation of a component at a specific rotation rate. Rotation can optionally be offset around a pivot point. Collision testing is not performed during movement.

Variables

Name Description

Public variable

uint32: 1

 

bRotationInLocalSpace

Whether rotation is applied in local or world space.

Public variable

FVector

 

PivotTranslation

Translation of pivot point around which we rotate, relative to current rotation.

Public variable

FRotator

 

RotationRate

How fast to update roll/pitch/yaw of the component we update.

Constructors

Name Description

Public function

URotatingMovementComponent

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Applies rotation to UpdatedComponent.

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