Hello there everyone.
Right now, I have 3 different input events (Dashing, Sliding, Crouching) that are behaving weirdly.
Background:
- Dash: button input (right mouse button let’s say)
- Slide: chorded action (also mapped to RMB, but chorded with Crouch)
- Crouch: button input (caps lock, trigger = crouch, release = uncrouch)
My desired behavior would be to have a slide take place iff we press the dash button while we are crouched. Everything works as expected so long as my player is touching the ground.
When the player is falling, then the chorded action (slide) always triggers, whether or not the crouch key is pressed.
Has anyone experienced this before? I will show my input mapping context, as well as the input actions in question in case I missed something here.