UProjectileMovementComponent::HandleImpact

Applies bounce logic if enabled to affect velocity upon impact (using [ComputeBounceResult()](API\Runtime\Engine\GameFramework\UProjectileMovementComponent\ComputeBounceResult)), or stops the projectile if bounces are not enabled or velocity is below BounceVelocityStopSimulatingThreshold.

Windows
MacOS
Linux

Override Hierarchy

UMovementComponent::HandleImpact()

UProjectileMovementComponent::HandleImpact()

References

Module

Engine

Header

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

Include

#include "GameFramework/ProjectileMovementComponent.h"

Source

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

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).

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