init.lua 588 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Defines the shape of Colliders.',
  3. description = [[
  4. A Shape is a physics object that can be attached to colliders to define their shape.
  5. ]],
  6. constructors = {
  7. 'lovr.physics.newBoxShape',
  8. 'lovr.physics.newCapsuleShape',
  9. 'lovr.physics.newCylinderShape',
  10. 'lovr.physics.newSphereShape',
  11. 'lovr.physics.newMeshShape',
  12. 'lovr.physics.newTerrainShape',
  13. 'World:newBoxCollider',
  14. 'World:newCapsuleCollider',
  15. 'World:newCylinderCollider',
  16. 'World:newSphereCollider',
  17. 'World:newMeshCollider',
  18. 'World:newTerrainCollider'
  19. }
  20. }