You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user