+4 votes

I'm profiling my game. Fixed time sometimes goes too far. The reason is Physics update takes much more time then needed. In Physics tree, there is Flush Queries parameter that takes all this time.

What does Flush Queries param mean?
What can I do to decrease Flush Queries time?

Thank you!

in Engine by (65 points)

I need to know what I can do to improve this too. Any ideas anyone?

I am also looking for an answer to this question. Is anyone able to help?

My possibly baby / bathwater based solution was to migrate to unity. Bit of a shame but I just kept hitting performance issues on mobile and performance not being tackled as a priority until Godot 4.x pushed me over the edge.

As something maybe helpful... Try taking a look at threading mode for physics in project settings etc.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.