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

Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.

This commit is contained in:
Marcel Admiraal
2020-09-18 10:24:57 +01:00
parent 31d0f8ad8d
commit fc72c3fdf5
9 changed files with 4 additions and 23 deletions

View File

@@ -2075,7 +2075,6 @@ bool Main::iteration() {
uint64_t physics_begin = OS::get_singleton()->get_ticks_usec();
PhysicsServer::get_singleton()->sync();
PhysicsServer::get_singleton()->flush_queries();
Physics2DServer::get_singleton()->sync();