Thanks for all your help, that’s exactly what I was looking for. To anyone else following these steps, you may notice that you cubes all bounce inwards when they hit, for example, a plane. This is because the object origin is right in the middle of your shape. To fix this, select all of you voxels, and in Object mode, head to:
Object>Set Origin>Origin to Center of Mass (Surface)
Thanks!