|
@@ -320,6 +320,7 @@ module BABYLON {
|
|
|
mesh.rotationQuaternion = new BABYLON.Quaternion(0, 0, 0, 1);
|
|
|
}
|
|
|
mesh.rotationQuaternion.fromRotationMatrix(mtx);
|
|
|
+ mesh.computeWorldMatrix();
|
|
|
|
|
|
} else {
|
|
|
m = body.getMatrix();
|
|
@@ -344,6 +345,7 @@ module BABYLON {
|
|
|
mesh.rotationQuaternion = new BABYLON.Quaternion(0, 0, 0, 1);
|
|
|
}
|
|
|
mesh.rotationQuaternion.fromRotationMatrix(mtx);
|
|
|
+ mesh.computeWorldMatrix();
|
|
|
}
|
|
|
}
|
|
|
}
|