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

This branch is 6 commits ahead of, 2 commits behind vrld/HC:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

MogMog
Mog
and
Mog
May 12, 2022
f529893 · May 12, 2022
May 8, 2022
May 12, 2022
Jul 21, 2013
Nov 5, 2017
Apr 8, 2018
May 12, 2022
Feb 8, 2018
May 8, 2022
Apr 8, 2018
Apr 12, 2012

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%