I would like to add double jump and crouching making the player faster go down. For some reason add movement input in a vertical direction does nothing while jumping, is there any way around that? The problem is I can’t just do a set location instead because it is a multiplayer game.
Idk how, because I use UE5. But try a script. Add a timer and a impact setting, removing double jump when on the ground. For the timer, add 1.5 to 3 seconds.
To add movement while in air:
- Open your pawn
- Click the
CharacterMovement
component in the component browser - Increase
Air Control
. The value range is based onMax Walk Speed
,0
is no air control,1
is full control.
If you want the player to jump higher the longer you hold the jump button:
- Change the your Character’s Jump Max Hold Time to be the length in seconds the character can continue to boost upwards while holding jump.
To add Double Jumping, follow this tutorial
To make your character fall faster when crouching:
- When you activate crouch, call Launch Character with a downwards vector force.
1 Like