I am starting to profile my game in order to prevent periodic frame drops, but I need help interpretting the data.
I notice that sometimes my player's
_physics_process() method, and some of the other methods which this method calls, are called twice per frame, causing spikes in the profile.
Why might that be? Is this unusual?
When looking at the FPS monitor graph, I'm also noticing very volatile FPS. Could this be the cause?