A simple example on how to use entt (https://github.com/skypjack/entt) within godot
An example on how to use gdnative with entt.
git clone --recursive
(I use git submodules). If you forget you can always run later git submodule init --recursive && git submodule update
.cmake
, no particular options required.When running the example, just press enter ("ui_accept") to spawn another random entity. Entities will be removed when they get outside of the plane (72 * 72 square surface).
this may not be the best way to use entt inside godot, it's just an easy way to do it that I want to share with the world.