addShape.lua 400 B

12345678910111213141516171819
  1. return {
  2. summary = 'Add a Shape to the Collider.',
  3. description = [[
  4. Attaches a Shape to the collider. Attached shapes will collide with other shapes in the world.
  5. ]],
  6. arguments = {
  7. {
  8. name = 'shape',
  9. type = 'Shape',
  10. description = 'The Shape to attach.'
  11. }
  12. },
  13. returns = {},
  14. related = {
  15. 'Collider:removeShape',
  16. 'Collider:getShapes',
  17. 'Shape'
  18. }
  19. }