m_vehicle->getChassisWorldTransform().getOpenGLMatrix(&m); //this gives the wrong position of the chassis.

m_carChassis->getWorldTransform().getOpenGLMatrix(&m);//this also gives the wrong position of the chassis.

btTransform tr;
m_carChassis->getMotionState()->getWorldTransform(tr);//this gives the right position.

tr.getOpenGLMatrix(&m);