{"id":91,"date":"2014-04-02T02:26:56","date_gmt":"2014-04-02T06:26:56","guid":{"rendered":"http:\/\/www.thelastvertex.com\/?p=91"},"modified":"2014-04-02T02:31:52","modified_gmt":"2014-04-02T06:31:52","slug":"ai-round-2","status":"publish","type":"post","link":"https:\/\/www.thelastvertex.com\/?p=91","title":{"rendered":"AI &#8211; Round 2"},"content":{"rendered":"<p><a href=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking1.gif\"><img decoding=\"async\" class=\"size-full wp-image-88 aligncenter\" alt=\"AIFlocking1\" src=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking1.gif\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Rudimentary AI flocking is now enabled! \u00a0The herd of test bunnies now mingle and flock reasonably well all on their own. \u00a0On top of that they are set up to flee the players presence when engaged. More gifs after the link.<\/p>\n<p><!--more-->Still lots to do for AI in general. \u00a0Although they flock together when left alone it&#8217;s definitely more fish like than anything. \u00a0I will have to investigate how to intermix their own AI behavior into the flocking patterns. \u00a0Having them not move constantly will probably be the biggest plus to more natural movement.<\/p>\n<p><a href=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking2Small.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-89 aligncenter\" alt=\"AIFlocking2Small\" src=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking2Small.gif\" width=\"600\" height=\"337\" \/><\/a><\/p>\n<p>Giving them the ability to halt and idle will give some opportunity to inject some other animations once I get to that point. \u00a0Hopefully that&#8217;ll break it up a bit more. \u00a0Although the .gif below doesn&#8217;t show it their flee behavior breaks down a bit after they flee out of the players immediate range. \u00a0Currently they all flock back up behind the player, making it easy to do a loop and re-attack. \u00a0On top of that I&#8217;m not particularly happy with how little the flock stays together during the fleeing stage. \u00a0Initial attempts to sort this out were unsuccessful. \u00a0I&#8217;m gonna have to try a different approach and watch a ton of nature videos to see what else I can add to make it feel a bit more natural.<\/p>\n<p><a href=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking3.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-90 aligncenter\" alt=\"AIFlocking3\" src=\"http:\/\/www.thelastvertex.com\/wp-content\/uploads\/2014\/04\/AIFlocking3.gif\" width=\"600\" height=\"337\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Rudimentary AI flocking is now enabled! \u00a0The herd of test bunnies now mingle and flock reasonably well all on their own. \u00a0On top of that they are set up to flee the players presence when engaged. More gifs after the link.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91"}],"version-history":[{"count":8,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}