setTightness.lua 520 B

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