getDistance.lua 421 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get the target distance of the DistanceJoint.',
  3. description = [[
  4. Returns the target distance for the DistanceJoint. The joint tries to keep the Colliders this
  5. far apart.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. distance = {
  10. type = 'number',
  11. description = 'The target distance.'
  12. }
  13. },
  14. variants = {
  15. {
  16. arguments = {},
  17. returns = { 'distance' }
  18. }
  19. }
  20. }