Rendering Tree Meshes


I started with logic with the grass block and said that if a grass block had a dirt block under it and nothing above of it; it should instantiate a game object with the ability of spawning a oak tree. And as seen in the picture a tree has a 1/80 chance of spawning to get the look of an amazing forest :D This however was just the first step and will be taken further with the implementation of different styles of trees having a chance to spawn. And when biome's are added I will have to change the type of tree/ cactus that would spawn.

Get Cavecraft - A Minecraft Clone

Leave a comment

Log in with itch.io to leave a comment.