Skeletons lagging game even not actively simulated

Godot Version

Godot 4.3.stable

Question

Hello, I have enemies in my 3d game with physical skeletons. Even when they’re not ragdolling, just by them having a skeleton the fps suffers (I can only have 10 enemies at 60 fps). Is there a way to optimize this? I’ve tried disabling the process of the skeleton until they ragdoll but that doesn’t really help. Thank you.

are you using heavy 3d models?

Thanks for the reply, and not really, I created enemies with no models (used visible collision shapes to locate them) and there was no effect on performance.

Found the issue, it was actually animationtrees being super expensive, and in my test, I deleted the animation tree with the physics skeleton :man_facepalming: