title: Using Bullet Physics to Load OBJ model to btGImpactMeshShape but the result is wrong
body: <p>I use Bullet Physics Engine to load OBJ model to the world using btGImpactMeshShape..
  I am very new using this engine </p>
  
  <p>Here is my code</p>
  
  <pre><code>//---------------------------------------//
  
  //            load from obj              //
  
  //---------------------------------------//
  
  ConvexDecomposition::WavefrontObj wobj;
  printf("load first try"); fflush( stdout );
  std::string filename("bunny.obj");
  int result = wobj.loadObj( "bunny.obj" );
  if(!result)
  {
  printf("first try fail\n"); fflush( stdout );
  printf("load second try");  fflush( stdout );
  result = wobj.loadObj("../bunny.obj");
  }
  
  printf("--load status %d\n", result );
  printf("--triangle: %d\n", wobj.mTriCount);
  printf("--vertex: %d\n", wobj.mVertexCount);
  
  
  btTriangleIndexVertexArray* colonVertexArrays = new btTriangleIndexVertexArray(
  wobj.mTriCount,
  wobj.mIndices,
                  3*sizeof(int),
                  wobj.mVertexCount,
                  wobj.mVertices,
                  3*sizeof(float)
                  );
  
  btGImpactMeshShape* bunnymesh = new btGImpactMeshShape(colonVertexArrays);
  bunnymesh -&gt;setLocalScaling( btVector3(0.5f, 0.5f, 0.5f) );
  bunnymesh -&gt;updateBound();
  startTransform.setOrigin( btVector3(0.0, 0.0, 0.0) );
  startTransform.getBasis().setEulerZYX( 0, 0, 0 );
  localCreateRigidBody( bunnymesh , startTransform, 0.0 );
  printf("Load done...\n");
  </code></pre>
  
  <p>Here in the model that I loaded .............. this bunny was viewed using MeshLab on MAC</p>
  
  <p><img src="https://i.stack.imgur.com/3oksD.png" alt="original bunny model viewed by Meshlab"></p>
  
  <p>I tried to change various stride parameters, however this is the result from my program</p>
  
  <p><img src="https://i.stack.imgur.com/Vpsgk.png" alt="using bullet to view Bunny">
  <img src="https://i.stack.imgur.com/JNR7Z.png" alt="Console output"></p>
  
  <p>Do you have any suggestions what wrong with the code?</p>