rajababubsc Posted January 27, 2016 Share Posted January 27, 2016 I am trying to draw walking path lines using BabylonJS. I tried functions CreateLines and CreateDashedlines but am unable to increase the stroke size. This video has the path which I have in my mind Walking path:(0.20) Quote Link to comment Share on other sites More sharing options...
jerome Posted January 27, 2016 Share Posted January 27, 2016 The lines have no thickness, so always one pixel. Consider using a Ribbon instead maybe. Quote Link to comment Share on other sites More sharing options...
Temechon Posted January 28, 2016 Share Posted January 28, 2016 I tried a similar thing in a game prototype: https://github.com/Temechon/project59/blob/master/js/PointerManager.js You can draw a path with the mouse, and the player will move along this path when the mouse button is released. I used Decals to do it. To use this project, install node, npm, grunt; Clone the repo, and type 'grunt'. 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.