Jump to content

AssetsManager doesn't work in Meteor


silkroad
 Share

Recommended Posts

Hi, 

I am building an app in Meteor and want to use the Babylon,  I tried the assetsManager in Meteor to load an obj file, but it doesn't work. I am using external server http:/// as a URL root. The code works on Sandbox but not in Meteor. I also tried to load the obj file in local directory by putting it in the Public folder of the Meteor (the URL root is "/" or empty) , still doesn't work. Can someone help me on this?

Thanks.

Link to comment
Share on other sites

Thank for the quick reply. I am not very clear how to add the reference to the obj loader in Meteor. I tried to include script tag in the head of html file and also import iobjFileLoader from 'babylonjs', import obj file from "objFileLoader" gives an error. all didn't work. Is this obj loader included in the babylonjs?  I couldn't find this file under the babylon module.

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...