mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
This commit is contained in:
parent
6f4384f206
commit
41209efa7f
9 changed files with 4 additions and 19 deletions
|
|
@ -2387,7 +2387,6 @@ bool Main::iteration() {
|
|||
for (int iters = 0; iters < advance.physics_steps; ++iters) {
|
||||
uint64_t physics_begin = OS::get_singleton()->get_ticks_usec();
|
||||
|
||||
PhysicsServer3D::get_singleton()->sync();
|
||||
PhysicsServer3D::get_singleton()->flush_queries();
|
||||
|
||||
PhysicsServer2D::get_singleton()->sync();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue