Sholand Posted November 7, 2017 Share Posted November 7, 2017 Hi, I am trying to extrude a polygon using ExtrudeShapeCustom. I need to use this because I need to access the scale function. It seems that a polygon with concave shapes messes it up. code: var c = BABYLON.Mesh.ExtrudeShapeCustom("name", polygon, path, Scale, Rotation, false, true, 3, scene); When creating the same with below polygonMeshBuilder it works. var c = new BABYLON.PolygonMeshBuilder("name", polygon, scene).build(1,depth); My issue is that I need to scale down so the polygon gets smaller as it extrudes. Is there a fix for this? I have attached screenshots of the polygonMeshBuilder (which looks ok but without any scaling) and the ExtrudeCustomShape (which is messed up) 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.