ErdongChen-Andrew / CharacterControl

Floating Capsule Character Controller (Rigibody control)
https://character-control.vercel.app
MIT License
378 stars 52 forks source link

When running to the right by pressing Shift + ArrowRight the character can't jump #4

Open michaelkolesidis opened 10 months ago

michaelkolesidis commented 10 months ago

When running by pressing Shift + ArrowRight, the character can't jump

When running and having the keys Shift + ArrowRight pressed (and any other arrow key at the same time, ex. ArrowRight + ArrowUp or ArrowRight + ArrowDown) the character doesn't respond to pressing the Space key. When moving to the Right by pressing KeyD, jumping works fine.

I'm on Chrome Version 116.0.5845.110 (Official Build) (64-bit) on Ubuntu Ubuntu 22.04.3 LTS.

ErdongChen-Andrew commented 10 months ago

Thank you for your feedback @michaelkolesidis ! That's really weird, as the arrow keys and WASD should behave the same since they both trigger the same function. I've tested this on two different devices, and the arrow keys work as expected on both. I'll delve deeper into this issue to understand why there might be a discrepancy, and hopefully, I'll be able to replicate the problem you're facing. 🤔

thomas-rooty commented 9 months ago

I think this issue is due to the keyboard of the PR's author itself, not your code. You can experience this kind of bugs on several games when you've not installed the drivers properly, at least to me, it seems user-related 😃

ErdongChen-Andrew commented 9 months ago

Aha, that's good to know! Thanks, @thomas-rooty!