getColliders.lua 509 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Get the Colliders the Joint is attached to.',
  3. description = [[
  4. Returns the Colliders the Joint is attached to. All Joints are attached to two colliders.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. colliderA = {
  9. type = 'Collider',
  10. description = 'The first Collider.'
  11. },
  12. colliderB = {
  13. type = 'Collider',
  14. description = 'The second Collider.'
  15. }
  16. },
  17. variants = {
  18. {
  19. arguments = {},
  20. returns = { 'colliderA', 'colliderB' }
  21. }
  22. }
  23. }