Chunk position algorithm
Hello, I'm making a Minecraft clone but I'm a bit stuck right now. So first this is what I want to do: ![alt text][1] My chunks are 16x16x16 big and I have 10x10x10 loaded chunks. Because I don't want...
View ArticleBlend edges between multi terrains?
Hey i don't know how it's called but what i mean is that i have a terrain a big one and i have slice it to 32 x 32 pieces,and what everyone may have got to that's how do i blend between the terrains ?...
View Article2D Circular Array
Hello guys, this one is really hard to understand for me. My current approach of storing level data is to always have 8x8 Chunks and each chunk has a 2d-Array of bytes representing each block in this...
View ArticleIs it a good idea to make many terrain chunks instead of a big one?
I really would like lightmaps on my terrain, so that there is no need for real shadows from my static objects (and Ambient Occlusion - so pretty :3 ). Having a big terrain is easy for the workflow, but...
View ArticleCorrecting normals along chunk edges
I have chunked terrain that I pre-process within Blender (via python scripts), leaving only the tasks that absolutely must happen at runtime to Unity. I start off with a cube consisting of 16x16x6...
View ArticleWTH does this error mean ? and what exactly is 'false' ?
Ok, so I made a new game/project to try and sort out another issue I was having (thought would be easier with the bare minimum components to resolve it. Anyway.. did that, created a terrain, centred it...
View Articlehow to create chunks in voxel terrain generation
Hello everyone, i am trying to make a multiplayer adventure game and want to have procedural terrain generation. The script I created for this is capable to create a single chunk, the broblem comes...
View ArticleLevel Chunk for infinte 2D runner
Currently I have an infinite runner that uses object pooling to spawn floors with no gaps, obstacles and platforms that are in the air and can be jumped onto. The floor is spawning at a constant rate....
View ArticleGame optimisation using SetActive partially ineffective.
I am building a cave exploration game (Which is supposed to be infinite on all 3 axis.) that uses a modified version of perlin-noise. I thought I had the optimisation sussed as it runs like butter for...
View ArticleHow to create chunks
In regards in marching cubes. I get that chunks are sections of the voxel array but do I create chunks and make the mesh of each chunk and make it seamless do I still put all the voxels into the array...
View ArticleUnity 5 - Convert sprites into singular sprite.
Hi all, First of all I would like to mention that this code will be run in an editor script so that when a button is pressed in the editor a group of sprites will be converted into one larger...
View Articlecube based enging
hey everyone this is my first time to post a question on the unity3d ask forum :D anyway i've been working on a cubical based engine and the chunks seems to take long to load when they are more than...
View ArticleChange Mat/Texture of Procedural Chunk Combind Meshes
Many procedural mesh systems use game objects or dont combine meshes when using chunks. My system uses Chunk loads and combines the smaller meshes into one bigger one. There are also no game objects....
View ArticleHow to load/save 'Chunks' near cam for mesh terrain?
Hi, I have a procedurally generated mesh, I want to be able to generate an 'infinite' amount of them. I have a rough idea on how to do this, but can't seem to put it into code. :/ I'm trying to have my...
View ArticleHelp with generating Chunks!
Hi, I am making a voxel, minecraft-style, but cannot figure out how to dynamically spawn chunks. Every tutorial I found was taking about spawning chunks from prefabs, but I am using PerlinNoise to...
View ArticleRender area not working correctly
Hello! Ive been working on a feature for my game where a square shaped area around the player that contains chunks would be rendered, but outside of that, chunks will not be rendered. This is for lag...
View ArticleQuestions about voxel terrain(loading/saving and optimizing performance)
Hi, I am working on a cube world-type voxel game. I managed to generate chunks via PerlinNoise, but I got stuck when trying to save/load them using a text file. I looked all over the internet and...
View ArticleWhat to do with "unloaded" gameObjects?
I'm working on a small 2D project that has a character moving around in a grid of tiles in a top-down fashion. I'm using chunks to reduce the processing load because it freezes a lot when generating...
View ArticleA null value was found where an object instance was required.
I'm trying to add instantiated prefab to an array from another instantiated prefab A world manager instantiates chunks and tiles within those chunks. Both worldmanager, chunks and tiles are GameObjects...
View ArticleUnity fails to load some chunks in my game
so i have this problem that each time i respawn my surrondings fail to load and almost every chunk are invisible please help and after now after i closed unity and re-opened it, i have the same problem...
View Article