UCharacterMovementComponent::ShouldJumpOutOfWater

Determine whether the Character should jump when exiting water.

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 ShouldJumpOutOfWater
(
    FVector & JumpDir
)

Remarks

Determine whether the Character should jump when exiting water.

Returns

true if Pawn should jump out of water

Parameters

Parameter

Description

JumpDir

is the desired direction to jump out of water

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