Godot's profiler showing bursts of 16ms+ "idle time" while the mouse is moving
https://files.mastodon.social/media_attachments/files/108/015/766/720/266/905/original/e3a93a26aa72ca94.png
Spent some of today's stream wrestling with perf overheads. Moving a Spatial to match the mouse cursor's position was impacting frame time, *if* the Spatial had children. Updating the Spatial's transform in _physics_process() rather than _process() made a huge difference o.0
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.