inertiaTensor property

Matrix3? get inertiaTensor

Local-space inertia tensor. When null, derived from the owning colliders.

Implementation

// TODO(inertia-tensor): forward to the simulation once backends grow a
// setter; currently stored only.
// ignore: unnecessary_getters_setters
Matrix3? get inertiaTensor => _inertiaTensor;
set inertiaTensor (Matrix3? value)

Implementation

set inertiaTensor(Matrix3? value) => _inertiaTensor = value;