ProfessorF Posted August 18, 2015 Share Posted August 18, 2015 Not sure why this is happening, but:any clues as to why the callback function isn't being called? It works in one file, but when I copy the file into another folder (along with the assets). No error, but the breakpoint in the callback never is reached. BABYLON.SceneLoader.ImportMesh("", "assets/AsianMale/", "AsianMale.babylon", scene, function (meshes, particles, skeletons) { Avatar = meshes; scene.beginAnimation(skeletons[0], 0, 100, true, 1); }); Thanks in advance. - Nick Quote Link to comment Share on other sites More sharing options...
ProfessorF Posted August 18, 2015 Author Share Posted August 18, 2015 Never mind. I forgot to update the web.config (things you only do once that you forget about!): <?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> <system.webServer><staticContent><mimeMap fileExtension=".fx" mimeType="application/fx" /><mimeMap fileExtension=".babylon" mimeType="application/babylon" /><mimeMap fileExtension=".babylonmeshdata" mimeType="application/babylonmeshdata" /></staticContent></system.webServer> </configuration> Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 18, 2015 Share Posted August 18, 2015 I love when problems get solved by themselves. Happy to see you back Doc by the way! 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.