Body:getMass
Get the mass of the body.
Static bodies always have a mass of 0.
Function
Synopsis
1 | mass = Body:getMass( ) |
Arguments
None.
Returns
number mass
- The mass of the body (in kilograms).
Get the mass of the body.
Static bodies always have a mass of 0.
1 | mass = Body:getMass( ) |
None.
number mass
Designed by : w10schools
service@w10schools.com
Please login to continue.