UCharacterMovementComponent::GetBestDirectionOffActor

Can be overridden to choose to jump based on character velocity, base actor dimensions, etc.

Choose your operating system:

Windows

macOS

Linux

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 FVector GetBestDirectionOffActor
(
    AActor * BaseActor
) const

Remarks

Can be overridden to choose to jump based on character velocity, base actor dimensions, etc.