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?