Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Okay my question is, if you place a 3d cube on the ground, and want find out what faces are free, IE not connected to any other block, what is the best way to go about it?
What are the degrees of freedom? If the blocks are static, and aligned, then an iterative cycle of all block positions checking X+1, X-1, Y+1 & Y-1 would do it.
If the cube is free to move & rotate, then a Ray Tracing algorithm might be appropriate.