init.lua 426 B

123456789101112131415
  1. return {
  2. summary = 'A fixed distance joint.',
  3. description = [[
  4. A DistanceJoint is a type of `Joint` that tries to keep two colliders a fixed distance apart.
  5. The distance is determined by the initial distance between the anchor points. The joint allows
  6. for rotation on the anchor points.
  7. ]],
  8. extends = 'Joint',
  9. constructors = {
  10. 'lovr.physics.newDistanceJoint'
  11. },
  12. related = {
  13. 'Collider'
  14. }
  15. }