DAABBCC3D - 3D AABB collision detection

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, 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. 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

Discussions & Release Notes

Documentation

Toss a Coin to Your Witcher

If you find my Defold Extensions useful for your projects, please consider supporting 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.

9 Likes

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

14 Likes

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!!! :scream: ).

15 Likes

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?

3 Likes

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.

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

7 Likes

The first basic example project is now available on Github:

Play it here: defold-daabbcc3d-example-charming-kitchen 1.0

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: :rofl:

17 Likes