Space Bullet Physics engine - reeseschultz/godex GitHub Wiki

⚠️ 🔥 DISCLAIMER 🔥 ⚠️

This is a work in progress feature that was published to give the possibility to early test it. Any feedback / bug report is welcome but keep in mind that this is subject to changes according to the received feedbacks.

Multiple Spaces

Bullet physics ECS version, supports multiples physical worlds and those are stored inside the BtSpaces Databags. The physical world is called Space or Physical Space. The Databag BtSpaces supports up to 4 Spaces. Each Space simulates the dynamics of its own set of Physical Bodies. Usually everything is done in the main world, but there are cases where have an additional Space, where to simulate something else, is a lot handy.

BtSpaceMarker

The Component BtSpaceMarker can be used to specify on which Space the Entity must be assigned. It's optional, and if you don't specify it the Physical Body is always add to the main (and default) Space.

➡️ Next chapter: Rigid Body