1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Physics Interpolation - Move 3D FTI to SceneTree

Moves 3D interpolation from server to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
This commit is contained in:
lawnjelly
2025-03-14 10:02:43 +00:00
parent 8954125990
commit ae04a3a5dd
30 changed files with 1030 additions and 432 deletions

View File

@@ -2151,11 +2151,6 @@ void RuntimeNodeSelect::_update_selection() {
RS::get_singleton()->instance_set_transform(sb->instance_ofs, t_offset);
RS::get_singleton()->instance_set_transform(sb->instance_xray, t);
RS::get_singleton()->instance_set_transform(sb->instance_xray_ofs, t_offset);
RS::get_singleton()->instance_reset_physics_interpolation(sb->instance);
RS::get_singleton()->instance_reset_physics_interpolation(sb->instance_ofs);
RS::get_singleton()->instance_reset_physics_interpolation(sb->instance_xray);
RS::get_singleton()->instance_reset_physics_interpolation(sb->instance_xray_ofs);
}
#endif // _3D_DISABLED
}