Body:setMass


Function

Synopsis

Body:setMass( x, y, m, i )

Arguments

number x
The x-component of the center of mass in local coordinates.
number y
The y-component of the center of mass in local coordinates.
number m
The mass, in kilograms.
number i
The rotational inertia, in kilograms per squared meter.

Returns

Nothing.

See Also