Difference between revisions of "HC"
(Keyword: Physics) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Collision detection for LÖVE == | == 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. | It supports a variety of scale- and rotatable shapes: Rectangles, (non self-intersecting) polygons, circles and points. | ||
− | In contrast to [[love.physics]], | + | 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, | + | 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 == | == Documentation and sourcecode == | ||
− | The documentation can be found | + | The documentation can be found online here: http://hc.readthedocs.org/ |
− | You can view the sourcecode online here: https://github.com/vrld/ | + | You can view the sourcecode online here: https://github.com/vrld/HC |
{{#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