2D collision detection library for Go

48f1df7 Give credit to Chanhaeng Lee in LICENSE

4 days ago

c04b3ee Give credit to Chanhaeng Lee in LICENSE

11 months ago



Package collide implements 2D collision detection in Go.

This package implements collision detection only. Resolving collisions is not implemented.


import "git.sr.ht/~adnano/go-collide"


There are a few examples provided in the examples directory. To run an example:

go run examples/distance.go


Send patches and questions to ~adnano/go-collide-devel.

Subscribe to release announcements on ~adnano/go-collide-announce.


This library is based on:

The following resources explain the various algorithms used in this library.