calculateLocalInertia method
Calculate the inertia of the box.
Implementation
@override
Vector3 calculateLocalInertia(num mass,[ Vector3? target]){
target ??= Vector3.zero();
Box.calculateInertia(halfExtents, mass, target);
return target;
}
Calculate the inertia of the box.
@override
Vector3 calculateLocalInertia(num mass,[ Vector3? target]){
target ??= Vector3.zero();
Box.calculateInertia(halfExtents, mass, target);
return target;
}