RigidBodyAutoUpdateMass Property |
Namespace: DigitalRune.Physics
If the Shape or the Scale of a rigid body is changed, the mass properties should usually change too. If this property is MassFrame is automatically updated. If the current MassFrame was computed for a certain density (see FromShapeAndDensity(Shape, Vector3F, Single, Single, Int32)), the new MassFrame will use the same density. If the current MassFrame was computed for a certain total target mass (see FromShapeAndMass(Shape, Vector3F, Single, Single, Int32)), the new MassFrame will use the same total target mass. (If the MassFrame is not set manually, rigid bodies use an automatic computed mass for a target density of 1000.) If this property is , the MassFrame is not adjusted when the shape or scale is changed.