UCharacterMovementComponent::JumpZVelocity
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
The instantaneous vertical velocity applied to the character when a jump begins. Higher values produce higher jumps.
Signature
float JumpZVelocity Caveats & Gotchas
- • This is an initial velocity impulse, not a force — jump height is determined by JumpZVelocity and GravityScale together. Changing either affects jump height.
- • Default is 420 cm/s. Max jump height can be computed via UCharacterMovementComponent::GetMaxJumpHeight().
- • Does not affect the jump-hold extension mechanic (bDontFallBelowJumpZVelocityDuringJump) — that's a separate flag.
Example
Set jump height in the constructor C++
GetCharacterMovement()->JumpZVelocity = 600.f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?