bevy_fps_controller
bevy_fps_controller copied to clipboard
Some jitter when strafing
When strafing, where is some visible jitter in the camera movement. It is exaggerated when moving faster, but also still there when moving slower.
https://user-images.githubusercontent.com/33357138/183528245-3854ef44-5065-4106-8f95-ff3b3766f396.mp4
Hmm yeah, I think this has to do with interpolation & rapier. Will take a look, thank you for making an issue
Do you still notice this? I made all systems sequential by abusing system tags.
https://github.com/qhdwight/bevy_fps_controller/blob/7111389955fbe2731da7f1e92ed53fd1ef439519/src/controller.rs#L23
On my computer seems perfectly fine, but I also have 165 hz display which may mask effect.
Just tried out the minimal example. I think this issue is resolved. I do see some jitter at with a 165hz display with both vsync on and off, but's much more subtle and may not have anything to do with the physics controller. I set my monitor to 60hz and couldn't see the jitter at all.
Hmm maybe I have to schedule the movement before the Rapier physics set or something.