UCharacterMovementComponent::HandleImpact

Handle a blocking impact.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UMovementComponent::HandleImpact()

UCharacterMovementComponent::HandleImpact()

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 HandleImpact
(
    const FHitResult & Hit,
    float TimeSlice,
    const FVector & MoveDelta
)

Remarks

Handle a blocking impact. Calls ApplyImpactPhysicsForces for the hit, if bEnablePhysicsInteraction is true.