I am just starting with using ZapWorks and BabylonJS. I have a car model that appears in normal BabylonJS, but when I enable the ZapWorks camera, the car doesn’t show.
BABYLON.SceneLoader.ImportMeshAsync("", "./", "Ferarri-Testarossa-2.glb")
.then((result) => {
result.meshes[0].scaling = new BABYLON.Vector3(0.25, 0.25, 0.25);
console.log('loaded');
result.meshes[0].parent = trackerTransformNode;
});
In the console, I see the following error, but only when using ZapWorks:
[.WebGL-000038720099A300] GL_INVALID_OPERATION: Must have element array buffer bound.