setDistance.lua 351 B

123456789101112131415
  1. return {
  2. summary = 'Set the target distance of the DistanceJoint.',
  3. description = [[
  4. Sets the target distance for the DistanceJoint. The joint tries to keep the Colliders this far
  5. apart.
  6. ]],
  7. arguments = {
  8. {
  9. name = 'distance',
  10. type = 'number',
  11. description = 'The new target distance.'
  12. }
  13. },
  14. returns = {}
  15. }