.NET Standard Collision Detection
Go to file
Evan Hemsley 108e0573c2 spatial hash optimization 2020-01-17 02:52:38 -08:00
.circleci fix preview versioning 2019-10-25 22:04:47 -07:00
Bonk spatial hash optimization 2020-01-17 02:52:38 -08:00
Test rectangles now define top-left-width-height so that we dont have subpixel bounds 2020-01-06 20:06:21 -08:00
.gitignore fix bug in Line iterator + comparison cleanup 2019-12-08 19:46:08 -08:00
LICENSE add license 2019-09-06 01:13:35 -07:00
README.md update README 2019-12-01 22:30:17 -08:00
bonk.sln initial commit 2019-09-06 01:11:58 -07:00

README.md

MoonTools.Core.Bonk

NuGet Badge CircleCI

Bonk is a fast and modular collision detection system for .NET that is part of the MoonTools suite. It can be used with any .NET-based game engine.

Bonk is designed to help you figure out if two shapes are overlapping and by how much.

Bonk is not a physics simulator and it will not help you execute collision responses.

Bonk is designed for performance and memory efficiency. Defining shapes and performing collision tests require no heap allocations and put no pressure on the garbage collector. If you reuse spatial hashes, Bonk will never cause garbage collection.

Bonk is licensed under the LGPL-3 license. In summary: feel free to include it in your closed-source game and modify it internally at will, but if you make changes that you intend to redistribute, you must freely publish your changes.

Documentation

https://moontools-docs.github.io/bonk/