Contents

mass

Mass of the body as a whole, in Kg.

Declaration

var mass: Float { get set }

Discussion

The mass specified here is distributed equally among the particles forming the body for simulation purposes. A higher mass will resist acceleration changes from forces such as wind and external forces.

Must be positive. The default value is 1.0.

See Also

Controlling cloth motion