A body with zero mass is static, and will not move.
Mass can be changed at any time with Body:setMass or Body:setMassFromShapes.
world | world | The world to create the body in. |
x = 0 | number | The x position of the body. |
y = 0 | number | The y position of the body. |
m = 0 | number | The mass of the body. |
i = 0 | number | The rotational inertia of the body. |
body | Body | A new body. |