Good morning Julio.
For a while I have been trying to figure out why our vehicles fall through the static mesh occasionally. But I have not been able to figure it out. Today I was able to reproduce the issue in one of your Sandbox demos.
I have attached the two files that I modified to get the condition. When you load the "Basic Compound Shapes" demo, you will see that I have added a wall to the static bvh collision shape and removed all other collisions except for 1 camel.
You will see that the camel falls through the static bvh mesh. But if you remove the two lines at 181 and 182 of ndMakeStaticMap.cpp in the BuildFlatPlane function then the camel will not fall through the mesh.
You will also notice that I made the optimize flag false for the test. It seems to happen when there is a height in the AABB, or maybe it is because the object is already in the AABB of the mesh? I am not sure.
I at first thought it was the optimize flag that I had to make true in my code, and that did work for certain collisions, but not all, there are certain areas of the terrain where it still misses collisions. The collision mesh that we are loading is quite large 8000 x 8000 x 350.
If I have missed any important information in my summary of the issue, please let me know. I hope this is just a silly mistake on my side when creating the mesh on my side