Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UCharacterMovementComponent
- UMovementComponent::ResolvePenetrationImpl()
- UCharacterMovementComponent::ResolvePenetrationImpl()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include | #include "GameFramework/CharacterMovementComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual bool ResolvePenetrationImpl
&40;
const FVector & Adjustment,
const FHitResult & Hit,
const FQuat & NewRotation
&41;
Remarks
Overridden to set bJustTeleported to true, so we don't make incorrect velocity calculations based on adjusted movement.