I am trying to make "2D" terrain. I discovered that in the Editor you can make a CollisionShape with a HeightMap Shape. With OpenSimplexNoise I managed to edit the HeightMap so that it has some random elevation.

However it only applies to the CollisionShape and I don't know how I can "link" it with a Mesh so that the Mesh is the same shape as the HeightMap.
I found out that you can make a CollisionShape based on a Mesh. Is there a way to make it the other way around?