Has anyone worked with Expo-Three before?


#1

Newer to Expo here, I’m trying to create a simple 3D game for an Andriod phone and was trying to use the Expo-Three package and import some OBJ’s into a scene. Here’s the code that I’ve been using except I’ve been getting an unexpected url error when running. Is it just my syntax? Or am I missing something else? Thanks.

    const loader = new THREE.JSONLoader();
    loader.load("./assets/models/seven.js", function(obj) { scene.add(obj)});

#2

try doing require("./assets/models/seven.js") instead of just a string?