Hudo1979 Posted July 26, 2016 Share Posted July 26, 2016 I created a plane by using this.plane = BABYLON.MeshBuilder.CreatePlane("plane", { width: 0.5, height: 10 }, scene, true); and then I try to modify the plane height in rendering, but the height is not changed. this.laserV.height = xxx; But seems the plane height is never changed. Quote Link to comment Share on other sites More sharing options...
jerome Posted July 26, 2016 Share Posted July 26, 2016 you must use .scaling.y instead width and height are used to build the initial geometry that doesn't change after Quote Link to comment Share on other sites More sharing options...
Hudo1979 Posted July 26, 2016 Author Share Posted July 26, 2016 I see, thank you. 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.