setMass.lua 372 B

1234567891011121314151617
  1. return {
  2. summary = 'Set the total mass of the Collider.',
  3. description = 'Sets the total mass of the Collider.',
  4. arguments = {
  5. {
  6. name = 'mass',
  7. type = 'number',
  8. description = 'The new mass for the Collider, in kilograms.'
  9. }
  10. },
  11. returns = {},
  12. related = {
  13. 'Collider:getMassData',
  14. 'Collider:setMassData',
  15. 'Shape:getMass'
  16. }
  17. }