MassProperties
class MassProperties
Represents the mass properties of a rigid body.
Constructors
Link copied to clipboard
constructor(mass: Float = 1.0f, inertia: Vector3 = Vector3(0.1F), centerOfMass: Vector3 = Vector3(0F), orientationOfInertia: Quat = Quat(0F, 0F, 0F, 1F))
Constructs a MassProperties instance with default settings.
Types
Link copied to clipboard
object Companion
The companion object of MassProperties.
Properties
Link copied to clipboard
The center of mass of the MassProperties object.
Link copied to clipboard
The inertia of the MassProperties object, measured in kilogram-square meters (kg·m²).
Link copied to clipboard
The mass of the MassProperties object, measured in kilograms (kg).
Link copied to clipboard
The orientation of inertia of the MassProperties object.