I have a terrain class that uses the HeightMap class for collision.
I scale my vertices for the terrain (multiplying the Positions x, y and z with the scale factor) but am not sure how to do this for the HeightMap as well.
I tried it by muliplying the size of the Array2D and all it's height values as well but then the heightmap doesn't match the vertices.
Is it better if i adjust the grid size with my scale? If so, which property of the Heightmap constructor is it? dx or dz or both?
Hope i explained it good enough. Thanks for any help