Rob G Posted October 12, 2018 Share Posted October 12, 2018 Hi there! Can someone tell me the workflow to create a map in babylonjs? My work flow doesn’t work. I’ve been creating a map in blender. Exporting to the babylon format and then using BABYLON.SceneLoader.ImportMesh to load it. (PLAYGROUND) As the playground shows hit detection isn’t consistent. I found there were a few shapes that worked with BoxImpostor instead of MeshImpostor. So I copy/pasted those to generate a few walls in order to make a starter map. Now I’d like to make a proper map with windows etc. So I need to understand what’s going wrong. I’ve been looking around for what seems like ages with no luck. Any help would be extremely appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
kcoley Posted October 12, 2018 Share Posted October 12, 2018 Hi @Rob G, did you say you tried BoxImpostor? It seems to handle better with the way your playground is setup vs using the MeshImpostor: http://www.babylonjs-playground.com/#W1G7H1#2 . Quote Link to comment Share on other sites More sharing options...
Rob G Posted October 14, 2018 Author Share Posted October 14, 2018 Actually on that map the meshes work fine with BoxImpostor. So I should actually have made a playground that shows the issue better. My mistake. Sorry! http://www.babylonjs-playground.com/#S88IP5 Is there a guide somewhere for how to make a map that will work with babylon? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.