| 123456789101112131415161718192021222324 |
- return {
- summary = 'Add a Shape to the Collider.',
- description = [[
- Attaches a Shape to the collider. Attached shapes will collide with other shapes in the world.
- ]],
- arguments = {
- shape = {
- type = 'Shape',
- description = 'The Shape to attach.'
- }
- },
- returns = {},
- variants = {
- {
- arguments = { 'shape' },
- returns = {}
- }
- },
- related = {
- 'Collider:removeShape',
- 'Collider:getShapes',
- 'Shape'
- }
- }
|