UCharacterMovementComponent::ResolvePenetrationImpl

Overridden to set bJustTeleported to true, so we don't make incorrect velocity calculations based on adjusted movement.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

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

Syntax

virtual bool ResolvePenetrationImpl
(
    const FVector & Adjustment,
    const FHitResult & Hit,
    const FQuat & NewRotation
)

Remarks

Overridden to set bJustTeleported to true, so we don't make incorrect velocity calculations based on adjusted movement.