Search found 1 match

by arsakes
Sun Nov 08, 2020 3:07 pm
Forum: General Bullet Physics Support and Feedback
Topic: Create btIndexMesh from WavefronObj
Replies: 0
Views: 1806

Create btIndexMesh from WavefronObj

Hello, I try to set fields in `btIndexMesh` in order to use geometry that I've read from OBJ file using `tinyObjLoader` lib. I'm creating the btIndexMesh in a following way. btIndexedMesh indexed_mesh = btIndexedMesh(); indexed_mesh.m_numTriangles = vertex_count / 3; indexed_mesh.m_triangleIndexBase...