Pryme8 Posted August 3, 2017 Share Posted August 3, 2017 How would one go about putting a label for its index and maybe a little dot on every point on a mesh's VertexBuffer.PositionKind? I have seen it before I think, but cant find it again now. *EDIT* Nevermind I got it, Ill post the solution in a little bit. *UPDATE* http://www.babylonjs-playground.com/#SQHKA8 I'm sure there are better ways to do this, but for my purposes while trying to build custom meshes this will work! JackFalcon and adam 2 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 3, 2017 Author Share Posted August 3, 2017 Is there a way to attach the labels to a point in 3d space without adding a mesh? I tried the moveToVector method or what ever it was, but that seems to not work and from the documents does not sound like it would work anyways. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 3, 2017 Author Share Posted August 3, 2017 http://www.babylonjs-playground.com/#SQHKA8#7 this is making my life so much easier with constructing geometry Quote Link to comment Share on other sites More sharing options...
sable Posted August 4, 2017 Share Posted August 4, 2017 Hey Pryme, Just curious what wasn't working with the moveToVector method. Seems to work for me here https://www.babylonjs-playground.com/#N9MYJN#5 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 4, 2017 Author Share Posted August 4, 2017 I'll have to take a look it might of been because I did not realize I needed to pass the scene with the method but I bet that was the issue! also I wonder which is faster/less impact doing the blank mesh method or the before render function like you did. 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.