UCharacterMovementComponent::DoJump

Perform jump.

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 bool DoJump
(
    bool bReplayingMoves
)

Remarks

Perform jump. Called by Character when a jump has been detected because Character->bPressedJump was true. Checks Character->CanJump(). Note that you should usually trigger a jump through Character::Jump() instead.

Returns

True if the jump was triggered successfully.

Parameters

Parameter

Description

bReplayingMoves

true if this is being done as part of replaying moves on a locally controlled client after a server correction.

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