godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.95k stars 3.22k forks source link

Explain Physics Spiral of Death #10010

Open mrjustaguy opened 1 month ago

mrjustaguy commented 1 month ago

Your Godot version: 4.3 Stable

Issue description: Spiral of Death is mentioned in max physics step per frame documentation, but it's unclear what is ment by that. It should clearly explain that it is a scenario when the Physics is taking more time to compute then the time that is allocated to a Physics Frame (like if it takes over 16.66 ms per frame at default 60hz physics tick rate)

URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/classes/class_projectsettings.html#class-projectsettings-property-physics-common-max-physics-steps-per-frame It should also be mentioned in https://docs.godotengine.org/en/stable/tutorials/performance/index.html as it can manifest as rapid, massive degradation of performance