1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Merge pull request #30226 from lawnjelly/interpolate

Add access to interpolation fraction for fixed timestep interpolation
This commit is contained in:
Rémi Verschelde
2019-07-18 15:44:14 +02:00
committed by GitHub
8 changed files with 22 additions and 0 deletions

View File

@@ -1880,6 +1880,7 @@ bool Main::iteration() {
double scaled_step = step * time_scale;
Engine::get_singleton()->_frame_step = step;
Engine::get_singleton()->_physics_interpolation_fraction = advance.interpolation_fraction;
uint64_t physics_process_ticks = 0;
uint64_t idle_process_ticks = 0;