remove rigid body without deleting it

binofet
Posts: 20
Joined: Fri Jun 15, 2007 5:03 pm

remove rigid body without deleting it

Post by binofet »

Hello,

I'm curious as to how i could change the btCollisionWorld::removeCollisionObject so that it would remove the object from the world without deleting it. Seems as though this is really tough atm because even if the objects destructor isn't called, if something is added to the world it will write over the object i don't want to delete in the pool.

thanks,

binofet