Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMovementComponent
Description
Adds force from radial force components. Intended to be overridden by subclasses; default implementation does nothing.
Derived Overrides
| Name | AddRadialForce |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
| Include Path | #include "GameFramework/MovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp |
virtual void AddRadialForce
(
const FVector & Origin,
float Radius,
float Strength,
ERadialImpulseFalloff Falloff
)
Parameters
| Name | Remarks |
|---|---|
| Origin | The origin of the force |
| Radius | The radius in which the force will be applied |
| Strength | The strength of the force |
| Falloff | The falloff from the force's origin |