Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UProjectileMovementComponent
- 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 |
virtual void HandleImpact
&40;
const FHitResult & Hit,
float TimeSlice,
const FVector & MoveDelta
&41;
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).