qhdwight / bevy_fps_controller

Source engine inspired Bevy FPS controller plugin

Home Page:https://crates.io/crates/bevy_fps_controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character velocity depends on camera pitch

seriousdev-gh opened this issue · comments

If you look up or down and press W the character will stand still. And gradually pick up speed as the camera angle approaches the horizon.

Ah that is true. I have to check in Source Engine if this is the same behavior lol

Ok yeah just tried in CSGO and you can definitely look at the ground while moving, I'll try to fix, thank you for reporting

Fixing with: #11

LMK if that works, as far as my testing goes seems fine. The issue was that I was using the pitch to calculate the right and forward vectors instead of just yaw which surprisingly worked okish.