Question about pooled allocations

Post Reply
s_kohan
Posts: 4
Joined: Tue Apr 02, 2019 9:11 am

Question about pooled allocations

Post by s_kohan » Tue Apr 02, 2019 9:17 am

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?

Post Reply