Dad72 Posted May 20, 2017 Share Posted May 20, 2017 Hello, When I use an impostor BABYLON.PhysicsImpostor.HeightmapImpostor and SceneLoader.Append(), I get a bug. If I use another impostor, I do not have this bug and if I use SceneLoader.ImportMesh(), I do not see this bug. Only with an impostor BABYLON.PhysicsImpostor.HeightmapImpostor and SceneLoader.Append() I made this PG test to show the bug. The terrain is not a ground of Babylon, but from 3ds max. this works with a land made with Babylon (CreateGround()) http://www.babylonjs-playground.com/#DPDV50#15 Quote Link to comment Share on other sites More sharing options...
Gijs Posted May 24, 2017 Share Posted May 24, 2017 Did you delete the file? http://www.babylon.actifgames.com/TerrainEditor/DelosCity_ground.babylon Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 25, 2017 Author Share Posted May 25, 2017 Oups. Sorry. He returned. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 It seems to be a bug within cannon.js. the HeighField object has some undefined values. Does it work with SceneLoader.Load? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 29, 2017 Author Share Posted May 29, 2017 No, same thing. This no longer works with SceneLoader.ImportMesh, SceneLoader.Append and SceneLoader.Load The terrain properly load if I remove the physical http://www.babylonjs-playground.com/#DPDV50#16 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 Yep I guess this is related to cannon.js unfortunately Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 29, 2017 Author Share Posted May 29, 2017 Canon can not be fixed ? Otherwise there is not a workaround. What's missing can be added to the field manually (on the fly) ? Is there a solution? I do not know what is missing, but I may be adding to my field before creating the physical to the ground ? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 Ping @schteppe who may be able to help 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.