{"id":122,"date":"2014-04-13T20:36:56","date_gmt":"2014-04-14T03:36:56","guid":{"rendered":"http:\/\/www.thelastvertex.com\/?p=122"},"modified":"2014-07-06T16:40:06","modified_gmt":"2014-07-06T23:40:06","slug":"run-forest-run","status":"publish","type":"post","link":"https:\/\/www.thelastvertex.com\/?p=122","title":{"rendered":"Run Forest Run&#8230;."},"content":{"rendered":"<p>Initial prototype for single AI flee behavior is in. The deer will switch directions randomly at a given interval. The speed it switches direction will also vary depending on the players distance. Unfortunately I haven&#8217;t had to time to base its directional change on the players location.<!--more--><\/p>\n<p>I&#8217;m probably going to have to back out most of the code that enable this (not that much) and switch it for a vector based solution. \u00a0Currently it&#8217;s all based on angles which seems to work ok solely by itself but I&#8217;m doubting it will work in conjunction with the \u00a0current flocking AI and object avoidance AI I&#8217;m hoping to do next. \u00a0For now it gives me an idea of how it feels. \u00a0Still lots to do no matter what implementation I go with to get it to feel more natural, and of course try and nail down the ever elusive &#8220;fun factor&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Initial prototype for single AI flee behavior is in. The deer will switch directions randomly at a given interval. The speed it switches direction will also vary depending on the players distance. Unfortunately I haven&#8217;t had to time to base its directional change on the players location.<\/p>\n","protected":false},"author":1,"featured_media":213,"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\/122"}],"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=122"}],"version-history":[{"count":4,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/media\/213"}],"wp:attachment":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}