RobiNERD Posted June 28, 2016 Share Posted June 28, 2016 Hey people I'm new to the board and I wanted some help with an experiment I did. So, I wanted to see if the fur simulator worked well with cutom 3d models, so I exported a 3d model from a game. In this case I was testing with Donkey Kong. now, I have exported it in .babylon and it seems to work with sandbox. I downloaded the fur plgin and copied the debug layer to test, and after doing some tweaking I uploaded it to let the .babylon model load. After doing that I got http://goo.gl/fjm6w9 in the JS debug window I got an error saying "cannot set property material of undefined." dont bother the XML request error. Can anybody please help me? julien-moreau 1 Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted June 29, 2016 Share Posted June 29, 2016 Hello ! can you reproduce the scene in the playground ? If you cannot reproduce, can you send me your 3d model and code then I can test for you as I wrote the fur material ? Quote Link to comment Share on other sites More sharing options...
RobiNERD Posted June 29, 2016 Author Share Posted June 29, 2016 11 hours ago, Luaacro said: Hello ! can you reproduce the scene in the playground ? If you cannot reproduce, can you send me your 3d model and code then I can test for you as I wrote the fur material ? I have the code up on drive. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted July 3, 2016 Share Posted July 3, 2016 Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted July 4, 2016 Share Posted July 4, 2016 It's because the meshes array returned by the scene loader contains only one mesh. You should replace configureFur(scene.meshes[1]); by configureFur(scene.meshes[0]); Quote Link to comment Share on other sites More sharing options...
RobiNERD Posted July 11, 2016 Author Share Posted July 11, 2016 On 03/07/2016 at 0:25 PM, Luaacro said: It's because the meshes array returned by the scene loader contains only one mesh. You should replace configureFur(scene.meshes[1]); by configureFur(scene.meshes[0]); Thanks!!! 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.