UCharacterMovementComponent::ApplyImpactPhysicsForces

Apply physics forces to the impacted component, if bEnablePhysicsInteraction is true.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual void ApplyImpactPhysicsForces
(
    const FHitResult & Impact,
    const FVector & ImpactAcceleration,
    const FVector & ImpactVelocity
)

Remarks

Apply physics forces to the impacted component, if bEnablePhysicsInteraction is true.

Parameters

Parameter

Description

Impact

HitResult that resulted in the impact

ImpactAcceleration

Acceleration of the character at the time of impact

ImpactVelocity

Velocity of the character at the time of impact

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss