I have a plane object. I used Proportional editing to change the height of the vertices on some places on the z axis, creating these 'hills'.
My goal is to have cubes instanced on these points, creating a voxel-like look. The plane is exactly as wide as 100 cubes. And it has been subdivided so that the location of the cubes on the x and y axis is already correct.
But I am struggling with figuring out how I can have the z location of these instanced cubes snap. So that there are clear horizontal layers of cubes instead of smooth like they are now.
I've tried using vector math set to 'snap' to translate the instances. But that didnt work well.
Is there a simple solution to this? Any help would be greatly appreciated :)