URotatingMovementComponent

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