# DAABBCC3D - 3D AABB collision detection

**URL:** <https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673>\
**Category:** The Defoldmine\
**Created:** [February 5, 2025, 8:17am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673 "2025-02-05T08:17:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [February 5, 2025, 8:17am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/1 "2025-02-05T08:17:40Z")

</div>

![header830](https://forum-defold.b-cdn.net/uploads/default/original/3X/c/d/cd56eb3867cc2859c573cef6374b70d235eab46a.png)

I’ve been testing this for a long time, and it should be quite stable. However, due to a major refactoring, it is best to consider this a Beta version.

DAABBCC 3D v1.0 is based on [DAABBCC 2D version v3.0.1](https://github.com/selimanac/defold-daabbcc/discussions/13), so it includes all the same functionalities.

Manifold generation and raycasting have been completely rewritten. They are a bit more expensive than the 2D version.

**Note:** Unfortunately, there is no built-in way to get the size of a model using Defold. You might need to use external 3D tools or use a dummy 3D object to estimate the size.

But luckily, there is a [PR waiting](https://github.com/defold/defold/pull/9946). I hope that soon we won’t even need to get/set the size manually.

I’m still preparing examples, but it is quite straightforward.

## Source

[https://github.com/selimanac/defold-daabbcc3d](https://github.com/selimanac/defold-daabbcc3d)

## Discussions & Release Notes

> **[selimanac defold-daabbcc3d · Discussions](https://github.com/selimanac/defold-daabbcc3d/discussions)**
>
> Explore the GitHub Discussions forum for selimanac defold-daabbcc3d. Discuss code, ask questions & collaborate with the developer community.

## Documentation

> **[Home](https://github.com/selimanac/defold-daabbcc3d/wiki)**
>
> Contribute to selimanac/defold-daabbcc3d development by creating an account on GitHub.

## Toss a Coin to Your Witcher

If you find my [Defold Extensions](https://github.com/selimanac) useful for your projects, please consider [supporting](https://github.com/sponsors/selimanac) it.  
I’d love to hear about your projects! Please share your released projects that use my native extensions. It would be very motivating for me.

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [February 5, 2025, 8:21am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/2 "2025-02-05T08:21:07Z")

</div>

> [@selimanac](#):
>
> I’m still preparing examples, but it is quite straightforward.

One of the example projects that I’m working on:

[![](https://img.youtube.com/vi/6QACSQxm9kI/maxresdefault.jpg "fps defold test") ](https://www.youtube.com/watch?v=6QACSQxm9kI)

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [February 11, 2025, 5:00pm UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/3 "2025-02-11T17:00:28Z")

</div>

Yet another example project for daabbcc3D. This one is almost complete as it is; I don’t want to go too deep into it (I’m a hard core gamer, look what I’m doing!!! 😱 ).

[![](https://img.youtube.com/vi/tD32JnS0Ias/maxresdefault.jpg "charming kitchen") ](https://www.youtube.com/watch?v=tD32JnS0Ias)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 11, 2025, 5:42pm UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/4 "2025-02-11T17:42:12Z")

</div>

I love it! Please release it so others can play around with it! Are you open to do more things like this if you get some funding?

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [February 11, 2025, 5:51pm UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/5 "2025-02-11T17:51:10Z")

</div>

> [@britzl](#):
>
> Please release it so others can play around with it!

It is not perfect, not even close, but I will share it in a couple of days(I guess), as always on GitHub with the source.

> [@britzl](#):
>
> Are you open to do more things like this if you get some funding?

Why not! But I’m already doing it without funding 🙂

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [February 17, 2025, 9:52am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/6 "2025-02-17T09:52:18Z")

</div>

![Screenshot 2025-02-17 at 10.56.27](https://forum-defold.b-cdn.net/uploads/default/original/3X/8/c/8c268ea70c22d1265a38e64c512d0c1f79aadbcb.jpeg)

The first basic example project is now available on Github:

[https://github.com/selimanac/defold-daabbcc3d-example-charming-kitchen](https://github.com/selimanac/defold-daabbcc3d-example-charming-kitchen)

Play it here: [defold-daabbcc3d-example-charming-kitchen 1.0](https://selimanac.github.io/defold-daabbcc3d-example-charming-kitchen/)

You should consider this a basic prototype, not something ready for production. It contains many issues, but those issues are not related to this library.

A few notes:

- Samples are set to 2, which means anti-aliasing is enabled and set to 2. If you experience any performance issues, don’t forget to turn it off from game.project file.
- No touch support, and the GUI is not compatible with mobile. Basically, there is no mobile support.
- You can place anything anywhere. You can even do something like this: 🤣

 ![Screenshot 2025-02-16 at 19.59.24](https://forum-defold.b-cdn.net/uploads/default/original/3X/b/a/ba6d84a121180ffe89885c463c281118ce40a94a.jpeg)

---

<div class="post-metadata">

**Author:** ![TheNerdForum](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/thenerdforum/32/41166_2.png) [@TheNerdForum](https://forum.defold.com/u/TheNerdForum)\
**Post date:** [October 15, 2025, 10:06am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/7 "2025-10-15T10:06:10Z")

</div>

Hey man, tested out the game demo. Here’s the vid: [https://youtu.be/r4y2T-El-tY?si=HmqJaHN6R6wj86La](https://youtu.be/r4y2T-El-tY?si=HmqJaHN6R6wj86La)

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [October 15, 2025, 10:20am UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/8 "2025-10-15T10:20:00Z")

</div>

> [@TheNerdForum](#):
>
> Hey man, tested out the game demo.

I can’t call it a game but thanx man 🙂

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [April 24, 2026, 1:50pm UTC](https://forum.defold.com/t/daabbcc3d-3d-aabb-collision-detection/79673/9 "2026-04-24T13:50:32Z")

</div>

Version 1.0.5 is available, with a simple but potentially powerful `validate_gameobjects` option added to initialization.

> **[Release daabbcc3d-v1.0.5 · selimanac/defold-daabbcc3d](https://github.com/selimanac/defold-daabbcc3d/releases/tag/v1.0.5)**
>
> validate\_gameobjects option added to initialization
