satguru Posted June 18, 2018 Share Posted June 18, 2018 Looks like the obj loader is not finished loading material when the BABYLON.SceneLoader.ImportMesh() onSuccess function is called. see https://github.com/BabylonJS/Babylon.js/blob/master/loaders/src/OBJ/babylon.objFileLoader.ts#L231 I need to make changes to the mesh material after the mesh is loaded by the obj loader. How would i know when the obj loader is done loading the material? what is the most reliable method for doing that? Quote Link to comment Share on other sites More sharing options...
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.