getMass.lua 436 B

12345678910111213141516171819
  1. return {
  2. summary = 'Get the total mass of the Collider.',
  3. description = [[
  4. Returns the total mass of the Collider. The mass of a Collider depends on its attached shapes.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. {
  9. name = 'mass',
  10. type = 'number',
  11. description = 'The mass of the Collider, in kilograms.'
  12. }
  13. },
  14. related = {
  15. 'Collider:getMassData',
  16. 'Collider:setMassData',
  17. 'Shape:getMass'
  18. }
  19. }