Click or drag to resize
RigidBodySetMassAndInertia Method
Update the mass and inertia of this body.

Namespace:  GeonBit.Core.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetMassAndInertia(
	float mass,
	float inertia
)

Parameters

mass
Type: SystemSingle
New body mass.
inertia
Type: SystemSingle
New body inertia.
See Also