UProjectileMovementComponent::HandleImpact

Override Hierarchy

UMovementComponent::HandleImpact()

UProjectileMovementComponent::HandleImpact()

Syntax

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

Remarks

Applies bounce logic if enabled to affect velocity upon impact (using ComputeBounceResult() ), or stops the projectile if bounces are not enabled or velocity is below BounceVelocityStopSimulatingThreshold. Triggers applicable events (OnProjectileBounce).

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h

Source

Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp