possible fix for issue #24183
Fixed issue where disabled shapes would count for inertia calculations.
Before getting the shape, it checks if that shape is disabled. if it's not, uses that shape to calculate inertia.
https://github.com/godotengine/godot/issues/24183 link to user issue report.