UMovementComponent::HandleImpact

Called for Blocking impact

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual void HandleImpact
(
    const FHitResult & Hit,
    float TimeSlice,
    const FVector & MoveDelta
)

Remarks

Called for Blocking impact

Parameters

Parameter

Description

Hit

Describes the collision.

TimeSlice

Time period for the simulation that produced this hit. Useful for putting Hit.Time in context. Can be zero in certain situations where it's not appropriate, be sure to handle that.

MoveDelta

Attempted move that resulted in the hit.

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