| UMovementComponent::GetPenetrationAdjustment()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
Include |
#include "GameFramework/MovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp |
virtual FVector GetPenetrationAdjustment
(
const FHitResult & Hit
) const
Calculate a movement adjustment to try to move out of a penetration from a failed move.
The adjustment to use after a failed move, or a zero vector if no attempt should be made.
Parameter |
Description |
---|---|
Hit |
the result of the failed move |