Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UMovementComponent
- URotatingMovementComponent
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
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bRotationInLocalSpace | Whether rotation is applied in local or world space. | |
| FVector | PivotTranslation | Translation of pivot point around which we rotate, relative to current rotation. | |
| FRotator | RotationRate | How fast to update roll/pitch/yaw of the component we update. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
URotatingMovementComponent
(
const FObjectInitializer& ObjectInitializer |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | TickComponent
(
float DeltaTime, |
Applies rotation to UpdatedComponent. |