Metalx1000 Posted June 9, 2014 Share Posted June 9, 2014 **Solved!**cannon.js does not like 0 height object. I suggest you to use a box with scaling.y = 0.01 instead of a plane for your ground**Code has been updatedDoes anyone have a clone why these meshes are sometime falling through the ground plane and other times they are not?Do is have to do with my "setPhysicsState" settings or something else?http://filmsbykris.com/scripts/Game-Basics/BabylonJS/importing/clone_1.html Thanks in advance for any help. ant 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 9, 2014 Share Posted June 9, 2014 cannon.js does not like 0 height object. I suggest you to use a box with scaling.y = 0.01 instead of a plane for your ground Metalx1000 1 Quote Link to comment Share on other sites More sharing options...
Metalx1000 Posted June 9, 2014 Author Share Posted June 9, 2014 cannon.js does not like 0 height object. I suggest you to use a box with scaling.y = 0.01 instead of a plane for your groundThank you Deltakosh, that was exactly it. I really should have thought of that. I think in my head I was picturing a box with depth to it surounding the plane when I applied the "BoxImpostor".Thank you so much for your quick response. 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.