Could anyone explain step by step how can i use gltf loader through javascript? I see that Github threeaddons folder shows we have an access to it but when i use a code to check if it’s available it says that its not.
try {
var gltfLoader = new THREE.GLTFLoader();
runtimeScene.getVariables().get("console1").setString("Available");
} catch {
runtimeScene.getVariables().get("console1").setString("Unavailable");
}
It says its unavailable. (btw OBJLoader is “Available” but i still cant use it). Anyway how to import glb file through javascript from my project folder to a scene?