Collider:getMass

Returns the total mass of the Collider. The mass of a Collider depends on its attached shapes.

mass = Collider:getMass()

Arguments

None

Returns

NameTypeDescription
massnumberThe mass of the Collider, in kilograms.

See also