Minecraft-style 3D tiled space

I’m new here. Excuse me if it was explained already.

Is there a way to make a landscape with 3D cells (or tiles) similar to Minecraft style? With different 3D objects for each cell, with cells having their own “health” and so on.

Please don’t tell me to create a lot of objects and arrange them. It is bad idea. If something moves then it will check collisions with all these objects and it will be slow.

See if you can find anything of use here My voxel engine open sourced

Otherwise I’m guessing you could look into creating your own custom geometry instead of objects.

1 Like

Depending on what you mean by “Minecraft-style” you may or may not be interested to follow (or contribute to) the development of Edddy:

The idea behind it is to use StaticModelGroups for the blocks.

Welcome to the forums, btw! :confetti_ball: :slightly_smiling_face:

1 Like

Please explain me what is the principle of collision detection in these two projects? Do they check for collisions for all voxels while moving?

I would prefere to have 3d matrix and a set of passive objects which are not used in collision detection. And then I would check for matrix cells object is passing through. It is the fastest way of manipulating with such space. Is it possible to implement it in Urho 3D?

I dunno, I just use the built-in Bullet without hardly any knowledge about its inner workings.

Check with the source of the software. Get right into the bottom of it.