Hi, I’m making a game of snakes and ladders but I want to make it procedural, does anyone know how to fill between two objects so that their length is variable?
I did it manually for the exemple:
Here is the playground:
Dynamic mesh | Babylon.js Playground (babylonjs.com)
I have some advace but the direction sometimes was wrong
Dynamic mesh | Babylon.js Playground (babylonjs.com)
Hey @Abner_Corona , how are you doing?
Here, I did a small fix to your playground:
Dynamic mesh | Babylon.js Playground (babylonjs.com)
3 Likes
Wow that a really elegant and shorter solution, thanks a lot!!!
2 Likes
Thats cool!!
Here is the code for the snake in case someone uses it, it’s not perfect but it works… I think hahaha
Dynamic mesh | Babylon.js Playground (babylonjs.com)