Info
Version: | 1.1.2-alpha.0.3 |
Author(s): | Unterrainer Informatik OG Team |
Last Update: | Thursday, February 6, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/UnterrainerInformatik/collisiongrid |
NuGet Url: | https://www.nuget.org/packages/CollisionGrid |
Install
Install-Package CollisionGrid
dotnet add package CollisionGrid
paket add CollisionGrid
CollisionGrid Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
The problem is that the number of checks grow very fast (N² for N sprites) when the number of your sprites grow.
So you somehow have to narrow down your collision-candidates.
This piece of software does that for you. It does not do collision checking itself.
It just tells you if a sprite is near enough to a second one to maybe collide which allows you to do a collision test for those two, or three, or five...
This is a PCL, so you should be able to use it in any of your MG projects.