Instance Property

massProperties

The physics body’s mass properties, like inertia and center of mass.

Declaration

var massProperties: PhysicsMassProperties

Discussion

By default, the mass properties value is default, which matches the properties of a unit sphere with mass of 1 kilogram.

See Also

Setting Mass Properties

struct PhysicsMassProperties

Mass properties of a physics body.