Godot's profiler showing 2.5ms bursts of "idle time" when the mouse is moving
https://files.mastodon.social/media_attachments/files/108/015/815/156/557/782/original/9df38ce2f88f0a20.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.