Page 1 of 1

Question about pooled allocations

Posted: Tue Apr 02, 2019 9:17 am
by s_kohan
So I am integrating Bullet into a data-driven ECS design, and basically everything in the engine is batch-allocated. I would like to also allocate all of my rigid bodies at once also.

In all of the examples I can find, btRigidBody is allocates one-at-a-time using `new`, however I can see that there is also a pool allocator implemented in the library: https://pybullet.org/Bullet/BulletFull/ ... cator.html. Is it possible to use this with rigid body?