| UMovementComponent::HandleImpact()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h |
Include |
#include "GameFramework/ProjectileMovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp |
virtual void HandleImpact
(
const FHitResult & Hit,
float TimeSlice,
const FVector & MoveDelta
)
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).