struct
#include <engine/physics/components/mass.hpp>
Mass 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
.