HC

Collision detection for LÖVE

HardonCollider is a Lua module to simplify one important aspect in computer games: Collision detection.

It can detect collisions between arbitrary positioned and rotated shapes. Those shapes can either be circles or polygons. Any non-intersecting polygons are supported (even concave ones).

In contrast to love.physics, HardonCollider will only detect collisions, and not resolve them - you can decide how you want to respond to a collision.

If you have trouble using love.physics for collision detection, or if you feel the ten-ton hammer is too much, HardonCollider might be the right choice.

Documentation and sourcecode

The documentation can be found on github: http://vrld.github.com/HardonCollider/

You can view the sourcecode online here: https://github.com/vrld/HardonCollider