Hi everyone
I've made a bunch of instances of a character in my game, complete with multiple collision shapes (for selecting, attack area, hit area etc) and have noticed that my fps drops considerably with just 8 or so on screen - to literally unplayable levels.
The same thing happens with instances of a building, also with collision shapes, though less of them and perhaps less code. Disabling them improves fps so I'm guessing it has something to do with processing too many bodies through 'get overlapping bodies' in the physics_process function.
Could anyone perhaps help with this issue or confirm that 'get overlapping bodies' is really this demanding? For reference, my CPU usage is around 25% when testing.
Thanks