chicagobob123 Posted March 1, 2018 Share Posted March 1, 2018 I am trying to use some text generated at the website http://grid.vn/3dtext/ The babylon file seems to load when testing it in the sandbox and after some reading some posts I read this failure might mean I was missing something that was included in the .babylon scene file. I included these files <script src="babylon.max.js"></script> <script src="cannon.js"></script> <script src="oimo.js"></script> I have no other clues except this error and no idea how to fix it. Uncaught TypeError: o._addPendingData is not a function at Function.t.ImportMesh (babylon.max.js:32) at createScene (index3.html:600) at index3.html:806 This function was in the create scene function. BABYLON.SceneLoader.ImportMesh('models/','stop.babylon',scene,function(meshes) { }); Hope you dont mind I am attaching the babylon file as well. Stop.babylon Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted March 1, 2018 Author Share Posted March 1, 2018 A parameter was missing. BABYLON.SceneLoader.ImportMesh("", 'models/','stop.babylon',scene,function(meshes) First item is mesh name or an array of mesh names GameMonetize 1 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.