What I’m trying to do is to draw a line diagonally from top left corner to bottom right corner of a rectangle that is linked with a mesh.
This is how I tried: Babylon.js Playground
When the camera moves, the rectangle moves with the box but the line doesn’t. It appears fixed on the screen. How can I make it stuck to the rectangle?
It will be fixed in next nightly!
Thanks a lot
Nice bug-find, DR. Thanks!
And thanks for the fix, DK!
At first, I was not having realized that it’s a bug
Bugs are OFTEN that way. You did perfect. Check self/code first, read docs, create demo playground, and then ask others for info. (hi-5)
SUPER-programmers go further. They find where bug is located… inside GUI-feature source code, and then REALLY SUPER programmers fix the problem BEFORE Deltakosh, and with tighter code than Deltakosh would have used. This is not easy AT ALL, because DK is fast and thin-coding.