How to make one part where player 4x4x4 parts can destying from

Hi there

I will made an building game where you can build with blocks but now I have a grid from 900 parts 3 layers for 6 players but it give 16000 parts first I thought 7200 because I has count it on my phone but I forget that an phone that not can

But what is it can I made it so that the layer can destroy 4x4x4 parts from one part so you made 1 part and player can destroy little parts from it but idk of that possible is if do than can I made the grid higher. (This not solved)

And another question can I made an unanchored part what only stay on one position so it only fall down if you remove what’s under it

Solving

3 Likes

Make all blocks unanchored. Disable placing them on players. Then, weld it to any blocks/terrain it touches. Also, it wouldn’t make sense to use a 1x1x1 grid size for performance reasons. 16k is already a lot! Terrain should stay anchored. Gridsize can be 3x3x3, 4x4x4, or any other reasonable size. You can add 1x1x1 blocks to the building palette.

3 Likes

Can it automatically weld to the part under it with an script

3 Likes

When placing a part, you can raycast to all sides. If it finds a block within blocksize+1 studs from the center, weld to it. Same with terrain. When you do this, make sure to add a server-sided debounce, per player of course.

3 Likes

And how is it as I place a part with size y4 X z big can the player then destroy parts of this part from 4x4x4

3 Likes

I’m not sure what you mean, but most blocks and all terrain should be gridsize. Then, special blocks like 1x1x1 blocks or fences, or anything like those, they get higher placement precision and can be destroyed individually. Normal parts should be destroyed individually too.

2 Likes

It’s so now have I a grid place from alot parts but can I make from it 1 part with the same destroy as the alot parts

2 Likes

It’s possible but doesn’t seem practical, at least if you mean the top layer. Maybe make 8x8 chunks and on hover turn it into individual terrain?

3 Likes

Maybe when using the chisel tool (mini delete tool), when clicking on a normal part, it becomes the same size in mini parts. Then, if clicking any mini part, it deletes it.

2 Likes