Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UMovementComponent
- UMovementComponent::HandleImpact()
- UInterpToMovementComponent::HandleImpact()
- UProjectileMovementComponent::HandleImpact()
- UCharacterMovementComponent::HandleImpact()
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 |
virtual void HandleImpact
&40;
const FHitResult & Hit,
float TimeSlice,
const FVector & MoveDelta
&41;
Remarks
Called for Blocking impact
Parameters
| Name | 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. |