public static void ResetPools()
{
SubPoolRayCastResultList = new LockingResourcePool<RawList<RayCastResult>>();
SubPoolBroadPhaseEntryList = new LockingResourcePool<RawList<BroadPhaseEntry>>();
SubPoolCollidableList = new LockingResourcePool<RawList<Collidable>>();
SubPoolCompoundChildList = new LockingResourcePool<RawList<CompoundChild>>();
SubPoolEntityRawList = new LockingResourcePool<RawList<Entity>>(16);
SubPoolTriangleShape = new LockingResourcePool<TriangleShape>();
SubPoolTriangleCollidables = new LockingResourcePool<TriangleCollidable>();
SubPoolTriangleIndicesList = new LockingResourcePool<RawList<TriangleMeshConvexContactManifold.TriangleIndices>>();
SimulationIslandConnections = new LockingResourcePool<SimulationIslandConnection>();
}