So I want to do something like this Playground, but instead of painting with the mouse, I have a mesh which I control.
I can move the mesh on the x and z axes on the ground, and I want it to leave a train in its path. The camera is locked on the mesh and moves along with it on the x and z axes as well.
I would appreciate some help with the matter