getGravity.lua 565 B

1234567891011121314151617181920212223242526
  1. return {
  2. tag = 'worldProperties',
  3. summary = 'Get the gravity of the World.',
  4. description = 'Returns the gravity of the World.',
  5. arguments = {},
  6. returns = {
  7. xg = {
  8. type = 'number',
  9. description = 'The x component of the gravity force.'
  10. },
  11. yg = {
  12. type = 'number',
  13. description = 'The y component of the gravity force.'
  14. },
  15. zg = {
  16. type = 'number',
  17. description = 'The z component of the gravity force.'
  18. }
  19. },
  20. variants = {
  21. {
  22. arguments = {},
  23. returns = { 'xg', 'yg', 'zg' }
  24. }
  25. }
  26. }