setDistance.lua 422 B

1234567891011121314151617181920
  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. distance = {
  9. type = 'number',
  10. description = 'The new target distance.'
  11. }
  12. },
  13. returns = {},
  14. variants = {
  15. {
  16. arguments = { 'distance' },
  17. returns = {}
  18. }
  19. }
  20. }