Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UCharacterMovementComponent
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 |
virtual bool DoJump
(
bool bReplayingMoves,
float DeltaTime
)
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. True if the jump was triggered successfully.
Parameters
Name | Description |
---|---|
bReplayingMoves | true if this is being done as part of replaying moves on a locally controlled client after a server correction. |
DeltaTime | time slice for this jump move |