Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UMovementComponent
- UMovementComponent::AddRadialForce()
- UCharacterMovementComponent::AddRadialForce()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
Include | #include "GameFramework/MovementComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp |
virtual void AddRadialForce
&40;
const FVector & Origin,
float Radius,
float Strength,
ERadialImpulseFalloff Falloff
&41;
Remarks
Adds force from radial force components. Intended to be overridden by subclasses; default implementation does nothing.
Parameters
Name | Description |
---|---|
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 |