URotatingMovementComponent

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

Windows
MacOS
Linux

Inheritance Hierarchy

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/RotatingMovementComponent.h

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