I have been investigating building some terrain for a blender game engine project, I already have a camera worked up that can follow a mesh with the static physics type. The camera works. However I noticed that the camera started clipping through the terrain at some points.
I believe there is a disparity between how the physics engine calculates collisions with quads and the physical topology of the base mesh. You can see the physics visualization shows every triangulated quad has an edge drawn between the bottom left and top right corner, it doesn't accurately describe the surface.
I have here, same exact same mesh explicitly triangulated with the triangulation modifier. This DOES accurately represent the base mesh. When I apply the modifier the camera works perfectly. The simulation follows the terrain perfectly, no clipping, no looking through the terrain.
This would be great, but I plan to use benj's lodshader.py to add a much more detailed simulation surface at close distances while maintaining a low density surface at a distance to preserve performance. This script requires a square base mesh. How how can I get accurate terrain collisions with a square base mesh?
EDIT:
Hopefully these pictures will better illustrate the problem
This is the base mesh made of quads from an angle
This is the base mesh with the incorrect physics visualization overlay
Base mesh in wireframe
This is the triangulated mesh in wireframe
The same mesh in solid surface
And finally the solid surface mesh, with the triangulation modifier shows the proper physics visualization that follows the surface of the mesh and doesnt allow clipping of the camera through the terrain. I need blender to do this without using the triangulate modifier