DAABBCC – Dynamic AABB Tree + Experimental Collision Detection Native Extension for Defold Engine

DAABBCC is a C++ wrapper of AABB.cc and tinyc2 libs for Defold Engine.

Basically, it is a dynamic bounding volume hierarchy (BVH) using axis-aligned bounding boxes (AABBs). The data structure provides an efficient way of detecting potential overlap between objects of arbitrary shape and size and is commonly used in computer games engines for collision detection and ray tracing.

Since I am a lazy developer, you can find my terrible test files in the source. Also I am working on a simple platformer for testing this library: https://github.com/selimanac/DAABBCC-Platformer. You can test the platformer example on itch.io.

You can find the DAABBCC on Defold Assets. Supported platforms are Web, Windows, MacOS and Linux (64bit). It is also available for mobile but I couldn’t test it yet.

 

One Reply to “DAABBCC – Dynamic AABB Tree + Experimental Collision Detection Native Extension for Defold Engine”

Leave a Reply