Yes, I tried:
btVector3 boxHalfExtents(boxWidth*.5f, boxHeight*.5f, boxDepth*.5f); btBoxShape* boxShape = new btBoxShape(boxHalfExtents);
I also tried:
btVector3 boxHalfExtents(boxWidth/2.0f, boxHeight/2.0f, boxDepth/2.0f); btBoxShape* boxShape = new btBoxShape(boxHalfExtents);
Both are not working as expected, the box is larger than the real one.