UMovementComponent::AddRadialForce

Override Hierarchy

UMovementComponent::AddRadialForce()

UCharacterMovementComponent::AddRadialForce()

Syntax

virtual void AddRadialForce
(
    const FVector & Origin,
    float Radius,
    float Strength,
    ERadialImpulseFalloff Falloff
)

Remarks

Adds force from radial force components. Intended to be overridden by subclasses; default implementation does nothing.

Parameters

Parameter

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

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/MovementComponent.h

Source

Runtime/Engine/Private/Components/MovementComponent.cpp