init.lua 458 B

12345678910111213141516
  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. 'World:newBoxCollider',
  12. 'World:newCapsuleCollider',
  13. 'World:newCylinderCollider',
  14. 'World:newSphereCollider'
  15. }
  16. }