BangTao Posted June 5, 2017 Share Posted June 5, 2017 This link is about how to create DashedLines and how to update the line instance:http://doc.babylonjs.com/tutorials/mesh_createxxx_methods_with_options_parameter#dashed-lines And i think this update function can dynamic update the line i created,right?I can not make sure,if i'm wrong at this point,plz correct me. But i could not update the line by myself,seems the update function not working~ dashedLines = BABYLON.MeshBuilder.CreateDashedLines(null, {points: [...], instance: dashedLines}); Here's the PG test Thank u for helping~ Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2017 Share Posted June 5, 2017 it used to work... ant it looks to still work here : http://doc.babylonjs.com/tutorials/how_to_dynamically_morph_a_mesh#lines-and-dashedlines I'll check this BangTao 1 Quote Link to comment Share on other sites More sharing options...
BangTao Posted June 5, 2017 Author Share Posted June 5, 2017 Okay,Thank you jerome ! Yup! With you help i made it ,but weird... See:https://www.babylonjs-playground.com/#WY0SKU#1 I used both BABYLON.Mesh.CreateDashedLines and BABYLON.MeshBuilder.CreateDashedLines Quote Link to comment Share on other sites More sharing options...
jerome Posted June 5, 2017 Share Posted June 5, 2017 Really strange ... 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.