setMass.lua 439 B

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