setAnchors.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. return {
  2. summary = 'Set the anchor points of the DistanceJoint.',
  3. description = 'Sets the anchor points of the DistanceJoint.',
  4. arguments = {
  5. {
  6. name = 'x1',
  7. type = 'number',
  8. description = 'The x coordinate of the first anchor point, in world coordinates.'
  9. },
  10. {
  11. name = 'y1',
  12. type = 'number',
  13. description = 'The y coordinate of the first anchor point, in world coordinates.'
  14. },
  15. {
  16. name = 'z1',
  17. type = 'number',
  18. description = 'The z coordinate of the first anchor point, in world coordinates.'
  19. },
  20. {
  21. name = 'x2',
  22. type = 'number',
  23. description = 'The x coordinate of the second anchor point, in world coordinates.'
  24. },
  25. {
  26. name = 'y2',
  27. type = 'number',
  28. description = 'The y coordinate of the second anchor point, in world coordinates.'
  29. },
  30. {
  31. name = 'z2',
  32. type = 'number',
  33. description = 'The z coordinate of the second anchor point, in world coordinates.'
  34. }
  35. },
  36. returns = {}
  37. }