{"id":591,"date":"2024-12-22T21:00:32","date_gmt":"2024-12-22T21:00:32","guid":{"rendered":"https:\/\/hivemind.science\/?p=591"},"modified":"2024-12-22T21:02:26","modified_gmt":"2024-12-22T21:02:26","slug":"hive-mind-progress-update-6","status":"publish","type":"post","link":"https:\/\/hivemind.science\/?p=591","title":{"rendered":"Hive Mind Progress Update #6"},"content":{"rendered":"\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Merry Christmas and Happy Holidays from the Hive Mind Team! \ud83c\udf84\ud83d\udc1c<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As the year winds down, we&#8217;re buzzing with excitement to share the latest updates on our <strong>Hive Mind<\/strong> project! It\u2019s been a productive couple of weeks filled with problem-solving, new features, and festive cheer.<\/p>\n\n\n\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Movement Issues \u2013 Finally Squashed!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our ants are officially free to roam! We&#8217;ve solved the long-standing issue where they got stuck because the OnMovementComplete event wasn\u2019t triggering correctly. By implementing a <strong>timeout timer<\/strong> and resetting movement when ants get stuck, we created a failsafe. However, since switching to an <strong>interface-based approach<\/strong> where each ant now handles its own movement completion, the timeout rarely (if ever) gets called anymore. \ud83c\udf89<\/p>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Speeding Up the Simulation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ve introduced a handy <strong>simulation speed control<\/strong>, making it easier to adjust how fast or slow things unfold in the world.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the <strong>free camera<\/strong>, we added a movement speed adjustment based on its height\u2014move closer to the ants, and the camera slows down to give you precise control. Zoom out for the bigger picture, and you\u2019ll zip around the map with ease!<\/p>\n\n\n\n<div style=\"height:37px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Behavior Tree Overhaul<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To streamline ant decision-making, we completely revamped the <strong>behavior tree<\/strong>, removing redundant code and organizing it more logically. The result? Smarter, faster ants that are better at prioritizing tasks like resting and eating.<\/p>\n\n\n\n<div style=\"height:37px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Enhanced Resting System<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ants now have more options when it comes to recharging their energy. We added more <strong>resting spots<\/strong>, and if the <strong>Global Manager<\/strong> doesn\u2019t know any, ants will keep searching until they find one. Once a resting spot is discovered, the <strong>Global Manager<\/strong> shares its location with the colony, so any ant with critical energy can benefit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each resting spot has its own <strong>resting bonus<\/strong>, influenced by factors like cover and safety. Better spots mean faster recovery for our hardworking ants!<\/p>\n\n\n\n<div style=\"height:49px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Jumpstarting the Food Component<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019re excited to introduce our first food type: <strong>blueberries<\/strong>!  When an ant\u2019s food level becomes critical, it will head to a known food source. If no food is known, ants will continue their search until one finds a source, sharing the location with the colony just like the resting system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the next sprint, we\u2019ll expand this feature by adding:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <strong>eat task<\/strong> to replenish hunger.<\/li>\n\n\n\n<li>A <strong>food consumption animation<\/strong>.<\/li>\n\n\n\n<li>Food destruction logic, where the mesh disappears once eaten.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Switching to Landscapes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To prepare for the addition of water components like puddles, we\u2019ve decided to replace our flat solid mesh with a more dynamic <strong>landscape mesh<\/strong>. This change will allow us to create more immersive environments for the ants, like water sources and other terrain features.<\/p>\n\n\n\n<div style=\"height:38px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>What\u2019s Next?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Looking ahead, we\u2019ll focus on:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Finishing the food component<\/strong> with eating mechanics and animations.<\/li>\n\n\n\n<li>Starting on the <strong>water component<\/strong>, essential for hydration mechanics.<\/li>\n\n\n\n<li>Transitioning to the <strong>combat component<\/strong>, bringing more interaction and challenges to the simulation.<\/li>\n\n\n\n<li>Adding a <strong>nest mesh<\/strong>, allowing ants to burrow underground for added depth (literally and figuratively).<\/li>\n<\/ol>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">As we wrap up this sprint and the year, we\u2019re thrilled with the progress made. <\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">We wish you a joyful holiday season filled with warmth, happiness, and lots of holiday cheer! \ud83c\udf85\u2728<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Stay tuned for more updates in the new year as we continue to evolve the Hive Mind world. Until then, <\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Merry Christmas and a Happy New Year! \ud83c\udf81\ud83c\udf84<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">With love,<br>The Hive Mind Team \ud83d\udc1c\u2764\ufe0f<\/p>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"HiveMind Progress Update 6   Adding Food\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/SeN-NQZE4pA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Merry Christmas and Happy Holidays from the Hive Mind Team! \ud83c\udf84\ud83d\udc1c As the year winds down, we&#8217;re buzzing with excitement to share the latest updates on our Hive Mind project! It\u2019s been a productive couple of weeks filled with problem-solving, new features, and festive cheer. Movement Issues \u2013 Finally Squashed! Our ants are officially free [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-progress-updates"],"_links":{"self":[{"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hivemind.science\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":1,"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/hivemind.science\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/hivemind.science\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hivemind.science\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hivemind.science\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}