Click or drag to resize
DigitalRuneMassFrameAdjust Method
Changes the mass so that it is equal to the given target mass and the related properties (inertia) are scaled accordingly.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public void Adjust(
	float targetMass
)

Parameters

targetMass
Type: SystemSingle
The target mass.
Remarks
Scaling mass frames is simple: Just change the mass, and scale the inertia by the factor mnew / mold. This is exactly what this method does.
See Also