Difference between revisions of "HC"

m (The docs moved!)
(Keyword: Physics)
 
Line 15: Line 15:
 
{{#set:LOVE Version=Any}}
 
{{#set:LOVE Version=Any}}
 
{{#set:Description=A collision detection system}}
 
{{#set:Description=A collision detection system}}
 +
{{#set:Keyword=Physics}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]

Latest revision as of 01:18, 23 December 2016

Collision detection for LÖVE

HC is a pure Lua library to simplify collision detection.

It supports a variety of scale- and rotatable shapes: Rectangles, (non self-intersecting) polygons, circles and points.

In contrast to love.physics, HC will only detect collisions, but 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, HC might be the right choice.

Documentation and sourcecode

The documentation can be found online here: http://hc.readthedocs.org/

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