.NET Standard Collision Detection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cosmonaut c7fa0932d6 update drone 3 months ago
Bonk bump immutable collections 4 months ago
Test bump immutable collections 4 months ago
.drone.yml change to droneCI 1 year ago
.gitignore fix bug in Line iterator + comparison cleanup 1 year ago
LICENSE add license 2 years ago
README.md update drone 3 months ago
bonk.sln initial commit 2 years ago

README.md

MoonTools.Bonk

NuGet Badge Build Status

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/