vahith Posted July 13, 2015 Share Posted July 13, 2015 Hi all;i am trying to collied the mesh with each other.. i am partially achived that but i am facing some propblem like when i collied the small mesh with big mesh its working fine but when i trying reverse like big mesh with small mesh collision is not working properly. kindly suggest me how to achive this....here is the reference playground which i am checkinghttp://www.babylonjs-playground.com/#OE1I9Thanksvahi:-) Quote Link to comment Share on other sites More sharing options...
Temechon Posted July 13, 2015 Share Posted July 13, 2015 Hi Vahith, It's because your ellipsoid alon y-axis is not good: http://www.babylonjs-playground.com/#OE1I9#1 Quote Link to comment Share on other sites More sharing options...
vahith Posted July 13, 2015 Author Share Posted July 13, 2015 hi temechon..Thanks for your response...but if we set y-axis how your define mesh will going up..we should not move the mesh up.. Quote Link to comment Share on other sites More sharing options...
iiceman Posted July 13, 2015 Share Posted July 13, 2015 I added the following on line 50:box2.ellipsoidOffset = new BABYLON.Vector3(0, -20.0, 0);http://www.babylonjs-playground.com/#OE1I9#2 But that might not be the best solution either. Quote Link to comment Share on other sites More sharing options...
vahith Posted July 13, 2015 Author Share Posted July 13, 2015 I added the following on line 50:box2.ellipsoidOffset = new BABYLON.Vector3(0, -20.0, 0);http://www.babylonjs-playground.com/#OE1I9#2 But that might not be the best solution either.hi iiceman...thanks for your response.. but it is working for lower part of mesh not for entire meshes kindly check this referencehttp://www.babylonjs-playground.com/#OE1I9#3 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.