UCharacterMovementComponent::TwoWallAdjust

Custom version that allows upwards slides when walking if the surface is walkable.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UMovementComponent::TwoWallAdjust()

UCharacterMovementComponent::TwoWallAdjust()

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 void TwoWallAdjust
(
    FVector & Delta,
    const FHitResult & Hit,
    const FVector & OldHitNormal
) const

Remarks

Custom version that allows upwards slides when walking if the surface is walkable.