Skip to main content

SpatialInertia

Type Alias SpatialInertia 

Source
pub type SpatialInertia = SpatialInertia<f64>;
Expand description

Spatial inertia of a rigid body about its center of mass.

Stored as mass, center of mass offset, and rotational inertia. Can be converted to a 6x6 spatial inertia matrix.

Aliased Type§

#[repr(C)]
pub struct SpatialInertia { pub mass: f64, pub com: Vec3<f64>, pub inertia: Mat3<f64>, }

Fields§

§mass: f64§com: Vec3<f64>§inertia: Mat3<f64>