Skip to main content
2 of 5
Corrected spelling
aryeh
  • 101
  • 1

Does anyone know how to add a JSON object into your whitestorm world / scene?

I am loading the object from my json file.

var loader = new THREE.ObjectLoader(); loader.load("blue-car.json", function ( car ) { car.position.set(2, 0, 0); car.addTo(world); } ); 

Chrome Console Error

How can I add the object to my world? In regular three.js it works when I load the json file, but how do I do it in whitestorm?

Thank You!

aryeh
  • 101
  • 1