Hi,
I am trying to import a blender mesh in .glb format. I can successfully import it using the following function:
// Import table from Blender file
function importPicnicTable() {
var picnicTable = BABYLON.SceneLoader.ImportMesh("Wooden Table", "models/", "table.glb", scene, function (meshes) {
scene.createDefaultCameraOrLight(false,false,false);
});
picnicTable.rotation = new BABYLON.Vector3(0, 1.5708, 0);
}
importPicnicTable();
However, when trying to rotate or do any other operations on it, nothing happens. Does anyone have any idea why this is happening?
Thanks!