Jump to content

Unity 5 to Babylon - Pulling My Hair Out


Cnotey
 Share

Recommended Posts

Ok, so maybe I'm just a little frustrated.  I've built countless Unity apps, all programmed in fairly complex C#.

 

But I can't for the life of me figure out how to implement a damn scene exported from Unity to Babylon.

 

So I went on Github and downloaded the Babylon engine.  I read a few tutorials to build babylon scenes, but a lot of the documentation appears to be a few years old.

 

Exactly where do I put the filename.babylon file and how do I load it up?

 

I created a folder, made a file called babylon.js, using vs 2.2 from the github page, and then made a quick index.html file.  All in the same folder.  When I try to run the index page, it just sits on loading forever.

 

I'm sure it's something simple, can someone point me in the right direction?

 

Thanks,

Cnotey

Link to comment
Share on other sites

Hello!
 

Even if documentation is a few years old, it is still accurate as one of our motto is "backward compatibility".

 

Could you share the page you created somewhere? And beware: due to security restrictions, browsers cannot open .babylon file without having a webserver able to serve .babylon MIME type

 

Just a few links:

- Using node.js to serve your files: http://www.html5gamedevs.com/topic/18673-expressjs-with-babylon-files/?hl=mime

- APache: http://www.hypercosm.com/support/howto6.html

- IIS: https://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx

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...