As of now I am using the below code to get the transform matrix from my rigid body in bullet and apply it to my instance. Now right now it seems to not be updating my rendered cube's transform, my first though is to believe that I'm losing data when creating a glm mat4. So my question is am I converting the data correctly to transform my matrix?
for (int i = 0; i < WoodenCrateInstances.size(); i++)
{
btTransform t;
WoodenCrateInstances.at(i).asset->body->getMotionState()->getWorldTransform(t);
float mat[16];
t.getOpenGLMatrix(mat);
glm::vec3 vec = glm::make_vec3(mat);
WoodenCrateInstances.at(i).transform = glm::translate(glm::mat4(), vec);
}