DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D
http://www.reactphysics3d.com
zlib License
1.54k stars 224 forks source link

Rigid body object pool #335

Closed EightBitBanger closed 9 months ago

EightBitBanger commented 1 year ago

resolves #334 This will implement a rigid body object pool to prevent de-allocation on rigid body destroy.

EightBitBanger commented 1 year ago

Recent discussion #337 suggests this problem could be deeper than just the rigid body objects. Ill leave this PR up in case your interested in pooling rigid bodies, perhaps for performance but this may not properly address issue #334.