Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some jitter when strafing #3

Open
DGriffin91 opened this issue Aug 8, 2022 · 4 comments
Open

Some jitter when strafing #3

DGriffin91 opened this issue Aug 8, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@DGriffin91
Copy link
Contributor

When strafing, where is some visible jitter in the camera movement. It is exaggerated when moving faster, but also still there when moving slower.

2022-08-08.15-54-30.mp4
@DGriffin91 DGriffin91 changed the title Some jitter when strafing. Some jitter when strafing Aug 8, 2022
@qhdwight
Copy link
Owner

qhdwight commented Aug 8, 2022

Hmm yeah, I think this has to do with interpolation & rapier. Will take a look, thank you for making an issue

@qhdwight qhdwight added the bug Something isn't working label Aug 8, 2022
@qhdwight
Copy link
Owner

qhdwight commented Feb 28, 2023

Do you still notice this? I made all systems sequential by abusing system tags.

app.add_system_set(SystemSet::new()

On my computer seems perfectly fine, but I also have 165 hz display which may mask effect.

@DGriffin91
Copy link
Contributor Author

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.

@qhdwight
Copy link
Owner

Hmm maybe I have to schedule the movement before the Rapier physics set or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants