
I have meshes I create in Blender, export to .bullet, and import using BulletWorldImporter. When I was moving my client through the game, I noticed the collision meshes were completely wrong... I looked through all possible rotations and position offsets... nothing seemed to work. After more investigating, I finally realized that the mesh was somehow completely flipped across its X axis. So to fix it, when I import the .bullet file, I just set
Code: Select all
btCollisionShape->setLocalScaling (btVector3 (-1.0 , 1.0 , 1.0))