UCharacterMovementComponent::ResolvePenetrationImpl

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss