How to better use bullet where the terrain would be a mesh? The collisions, as far as I see, can only use predefined shapes. The most “flexible” would be triangle mesh shape but I did not find how to create the shape from a model. Not sure if a large terrain would be efficient by creating a script to read a OBJ model and create triangles (using mesh.addTriangle§).
Gray scale terrain is not an option as it is hard to match a terrain texture mesh taking the same space than a heightfield shape.
Anyways… how you guys have work around that?
Thanks in advance,