Thanks for your help i did the same thing but i am getting zero from Cube(x,y,z) most of the time.
Also my voxel coordinate are coming in decimal. so i am putting the rounded off value
Thanks for your help i did the same thing but i am getting zero from Cube(x,y,z) most of the time.
Also my voxel coordinate are coming in decimal. so i am putting the rounded off value