cubos::engine::Mass struct

Component which defines the mass of a particle.

Directly setting density for a body is not supported. However, you can set mass based on density by considering mass = volume * density.