UCharacterMovementComponent::JumpOffJumpZFactor
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWriteAdvancedDisplay
Description
Fraction of JumpZVelocity applied when the character is automatically pushed off a base actor it isn't allowed to stand on.
Caveats & Gotchas
- • Only relevant when a base actor's CanBeBaseForCharacter() returns false — most projects never hit this path unless they explicitly restrict valid bases, such as disallowing standing on other players.
- • A value of 1.0 applies the full JumpZVelocity as the pop-off impulse; 0 disables the vertical kick entirely and the character just falls off sideways.
Signature
float JumpOffJumpZFactor Example
Soften the pop-off impulse C++
GetCharacterMovement()->JumpOffJumpZFactor = 0.5f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?