Probably a new class specifically for collider generation that uses the existing OBJ class to load up a mesh with a very dense grid size, then leverages the count of each cell of the FacesMatrix[..] to decide if it should draw a cube in that part of the new mesh (a new OBJ instance probably with 1,1,1 cube size).
Probably a new class specifically for collider generation that uses the existing OBJ class to load up a mesh with a very dense grid size, then leverages the count of each cell of the FacesMatrix[..] to decide if it should draw a cube in that part of the new mesh (a new OBJ instance probably with 1,1,1 cube size).