getTightness.lua 523 B

12345678910111213141516171819202122232425
  1. return {
  2. summary = 'Get the joint tightness.',
  3. description = [[
  4. Returns the tightness of the joint. See `World:setTightness` for how this affects the joint.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. tightness = {
  9. type = 'number',
  10. description = 'The tightness of the joint.'
  11. }
  12. },
  13. variants = {
  14. {
  15. arguments = {},
  16. returns = { 'tightness' }
  17. }
  18. },
  19. related = {
  20. 'BallJoint:getTightness',
  21. 'BallJoint:setTightness',
  22. 'World:getTightness',
  23. 'World:setTightness'
  24. }
  25. }