Envision, Create, Share

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.

Question about 3d objects.

Tdata

Sponsor

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.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top