I have a challenge with loading the object from my json file.
const loader = new THREE.ObjectLoader();
loader.load("blue-car.json",
function ( car ) {
car.position.set(2, 0, 0);
car.addTo(world);
}
);
However, I encountered an error. Here is the error message: https://i.sstatic.net/y9g3H.png How can I successfully add the object to my world? In traditional three.js, loading the json file works, but I'm unsure how to do it in whitestorm.
Any help or guidance would be greatly appreciated!