box2d-Mass is the mass or the weight ?

Hi,

I realized that it is not clear to me what box2d-mass really represents.
The question is in the subject of this topic.

Additionally, I'd like to ask what value should be set as density for a human body.

thanks

Theodosis
A quote from http://hyperphysics.phy-astr.gsu.edu/hbase/mass.html
The weight of an object is the force of gravity on the object and may be defined as the mass times the acceleration of gravity, w = mg.

The box2D mass is the mass. You get the weight by applying a gravity force to it. How ever, I would believe that the mass is defined in kg as if it's the same mass in earth's gravity. Naturally, things in zero gravity are "weightless", but still have their mass and would so weigh something on earth.

Humans have roughly the same density as water. Water is 1 metric ton per cubic meter.
In Box2D, mass has units of kilograms. This is independent of gravity and refers to the amount of matter rather than weight. Weight has units of force. Box2D uses Newtons for force.

Original thread: https://box2d.org/forum/viewtopic.php?t=5011