-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[3.x] Enable physics interpolation in all demos that use physics #1069
base: 3.x
Are you sure you want to change the base?
Conversation
9ee27c8
to
d98bf7d
Compare
Just looking through some of the physics interpolation warnings: 3D platformer
|
49d5d46
to
c204611
Compare
Done. |
c204611
to
62c4028
Compare
This also improves visuals in the Voxel and Dynamic Split Screen demos, and fixes splitscreen mode in the Platformer 2D demo. Most demos (other than physics tests) have also had their physics FPS increased to 120. This is done consistency with 4.x, but also for the benefits it still provides when interpolation are enabled (lower input lag, more stable simulation).
62c4028
to
7e1acea
Compare
The auto-resets is now merged as part of godotengine/godot#92784 so afaik all the functionality should be good now for the demos. 👍 It also might be worth having at least one slow moving demo at a lower tick rate, just to demo that way of working, which can be good for e.g. RPGs where responsiveness is not critical. Also as an aside, even with 120tps, bear in mind that if rendering at 60fps, I'm not sure the input gets sampled more than 60fps (without agile input) on most platforms, so the responsiveness may only be seen with high refresh monitors. |
This also improves visuals in the Voxel and Dynamic Split Screen demos, and fixes splitscreen mode in the Platformer 2D demo.
Most demos (other than physics tests) have also had their physics FPS increased to 120. This is done consistency with 4.x, but also for the benefits it still provides when interpolation are enabled (lower input lag, more stable simulation).
This can be cherry-picked to 3.5, but the benefits of 2D physics interpolation will only be seen in 3.6. This PR also benefits from godotengine/godot#92469, as it relies on that PR to reduce glitching when a 3D project starts (although it's hardly visible at 120 TPS in the first place).
Edit: Physics interpolation is no longer enabled in the 2D Skeleton demo due to godotengine/godot#92872.