Unity3D - Minecraft Mesh Chunk Generation script

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 13

  • @anticary8825
    @anticary8825 4 года назад +1

    Pretty cool, thanks :)

  • @themaxperience9091
    @themaxperience9091 4 года назад +1

    cool i'm making a mc copy this really helped:)

  • @alword
    @alword 3 года назад

    how should I delete block? Should I remove one from "collection" and rebuild whole terrain?

    • @dilute6980
      @dilute6980  3 года назад

      I would probably run the checkblockpositions function on all the adjacent blocks and the block position being removed after removing it from the collection, i dont quite remember this codebase very well sorry as this is a few years old now.

  • @denilsonrodrigues7884
    @denilsonrodrigues7884 3 года назад

    This is really good. Congratulations!
    Do you have any tips on how to implement this Chunk Generator script on a project so it uses MagicaVoxel blocks? Tried to do it myself and had no sucess. I was really excited seeing this video but couldn't do it :(

    • @dilute6980
      @dilute6980  3 года назад +1

      Im afraid i have no experience with magicavoxel sorry. Are you trying to implement this algorithm in magicavoxel?

    • @denilsonrodrigues7884
      @denilsonrodrigues7884 3 года назад

      @@dilute6980 that's too bad. But thank you for replying. No, I'm making a game kind of similar to Minecraft in unity, but fantasy/magic themed.
      I'm looking for a way to make a chunk generator, that uses the MagicaVoxel block models that I modeled as the blocks in the chunks and was wondering if it is possible to use your code to do it

  • @tobystorah
    @tobystorah 4 года назад

    thankyou so much! im just triying to figure out how to load them in and out as a player moves

    • @dilute6980
      @dilute6980  4 года назад +1

      Happy to help! Im not sure about loading in and out as a player moves. i remember i copied code from a tutorial on how to load and deload minecraft chunks, but i dont remember which tutorial it was, nor do i have the code anymore sadly :(

  • @bd-wk9lr
    @bd-wk9lr 4 года назад

    Hey Thanks im planning on making a game Like minecraft but with guns
    (I know pretty shit idea lol)