Skip to content
/ HC Public
forked from vrld/HC

General purpose collision detection library for the use with LÖVE.

Notifications You must be signed in to change notification settings

JustMog/HC

 
 

Repository files navigation

General Purpose 2D Collision Detection System

Documentation and examples here: http://hc.readthedocs.org/

Additional features

  • Capsule collider

Useage:

local shapes = require 'HC.shapes'
local cap = shapes.CapsuleShape(x, y, radius, length)

-- or

local world = HC.new(cellSize)
local cap = world:capsule(x, y, radius, length)

Differences

  • Removed shapes no longer have their tranformation functions obliterated for no reason, so they can still be used and re-registered later.

About

General purpose collision detection library for the use with LÖVE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%