destroy.lua 424 B

123456789101112131415161718192021
  1. return {
  2. summary = 'Destroy the Collider.',
  3. description = 'Destroy the Collider, removing it from the World.',
  4. arguments = {},
  5. returns = {},
  6. variants = {
  7. {
  8. arguments = {},
  9. returns = {}
  10. }
  11. },
  12. notes = [[
  13. Calling functions on the collider after destroying it is a bad idea.
  14. ]],
  15. related = {
  16. 'Collider:isDestroyed',
  17. 'World:destroy',
  18. 'Shape:destroy',
  19. 'Joint:destroy'
  20. }
  21. }