#how to add hang time or apex modifier to jump
4 messages · Page 1 of 1 (latest)
but seems like that would be the way to go
you'll probably need:
- Define a
air_jumporhang_timestate on player - Set a oneshot timer to start, and on timeout, flip hang_time state to false
- In the physics process, check for hang_time. If yes, flip player gravity to 0 for its duration
- When hang_time ends, set player gravity back to normal
player.air_jump is for air jump state. When player is in fall state and air_jump = true, player can air jump. Implementing hang time and coyote time while having fall state, jump state, and air jump state is giving me a headache. I would very much appreciate if you could help me.