#Smooth Camera jitter movement
1 messages · Page 1 of 1 (latest)
I thought myself that the pos smoothing could be the issue.
Hello, I was having the same issue and found a comment on the tutorial that explained that the physics fps of the project is not the same as the refresh rate on your monitor. I believe the default is 60.
To change it, go to Project,
Project Settings,
on the side bar, scroll down to Physics and select common,
change the "Physics Tick per Second" to whatever your monitor refresh rate is.
This worked for me at least, hope this helps.
You could try changing the process mode of the camera to idle, so it will be updated every frame instead of every physics step
Thanks yeah it looks way better atm!
Is that also a setting?
it's a predefined property of every Node that inherits from "Node" iirc
okay, it was called process_callback and was extended by Camera2D @modest elm
Ah will see if it works on 60 with that then.
with that setting, it should work on every frame rate, as the camera and the chakter are both updated at the same rate
So for me it was on idle the Process_Callback, and i changed it to Physics and it also works!
Thanks for the tip @trim pebble ! 😄
yeah, I meant changing to physics, I got that one wrong in my initial comment.
You said, it ALSO works. does that mean that using the Physics mode works just as well as the idle mode?
Na i mean more in the way of this comment from coffee about the refresh rate thing and your fix both worked.
So now i just used them both and it works great!
even on 60 tick it worked good!
This makes a lot more sense than the answer I found since it should work on every frame rate regardless of what my monitor is set to. If I understand it correctly. Thank you for the help!
try out if it works, if you only use process_callback: physics and leave the frame rate uncapped / reset the physics ticks to 60 or whatever the default value was. I think, that alone should fix it.
Yeah i also tested that and it works on 60!😊