The RebuildMass
method is designed to be used exclusively on dynamic physics bodies. It recalculates the mass of the body by considering all its shapes, taking into account their volume and the physics properties defined by the Surface property. This is particularly useful in scenarios where the shapes or their properties have been modified, necessitating an update to the body's mass.