So, I have this very basic but good voxel engine but it runs extremely slow. I cant figure out how the not render a block when it is 20 meters away from the player. Ive Tried gameObject.setActive(false); but I can’t turn the object back on. Any Ideas? Thanks
-Gamer’s Helmet
It sounds like you’re using a separate GameObject for each block, which is bad. See the various Minecraft threads for code that uses the Mesh class instead.
–Eric
or start with a simpler game.
would instatiating the blocks as a child to a chunk gameobject work?
I have chunks but i need a way to not render them