~adnano/go-collide

2D collision detection library for Go

bfc3678 examples/distance: Fix TimeOfImpact calculation

3 months ago

2ba08d6 Add *Simplex parameter to TimeOfImpact

3 months ago

#go-collide

godocs.io

Package collide implements 2D collision detection in Go.

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

#Usage

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

#Examples

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

go run examples/distance.go

#Contributing

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

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

#Resources

This library is heavily inspired by Erin Catto's Box2D.

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