diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-16 10:33:37 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-16 10:33:37 +0200 |
commit | 46c68659797c0da325095d688cd00ff80f9ec10e (patch) | |
tree | 396d53cbd8126834edd1d03d5411248969646179 /main/main_timer_sync.cpp | |
parent | eb684cccdcd08bfe86e35579ec45d0aa5ce8aae8 (diff) | |
parent | 2f8ab4a6540e65fa4097d1f58988eb03cb81ad65 (diff) | |
download | redot-engine-46c68659797c0da325095d688cd00ff80f9ec10e.tar.gz |
Merge pull request #92391 from rburing/fti_3d
Physics interpolation (3D)
Diffstat (limited to 'main/main_timer_sync.cpp')
-rw-r--r-- | main/main_timer_sync.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/main/main_timer_sync.cpp b/main/main_timer_sync.cpp index d358d9fa93..569930d427 100644 --- a/main/main_timer_sync.cpp +++ b/main/main_timer_sync.cpp @@ -299,17 +299,6 @@ int64_t MainTimerSync::DeltaSmoother::smooth_delta(int64_t p_delta) { // before advance_core considers changing the physics_steps return from // the typical values as defined by typical_physics_steps double MainTimerSync::get_physics_jitter_fix() { - // Turn off jitter fix when using fixed timestep interpolation. - // Note this shouldn't be on UNTIL 3d interpolation is implemented, - // otherwise we will get people making 3d games with the physics_interpolation - // set to on getting jitter fix disabled unexpectedly. -#if 0 - if (Engine::get_singleton()->is_physics_interpolation_enabled()) { - // Would be better to write a simple bypass for jitter fix but this will do to get started. - return 0.0; - } -#endif - return Engine::get_singleton()->get_physics_jitter_fix(); } |