{"id":4232,"date":"2023-10-19T00:12:39","date_gmt":"2023-10-19T00:12:39","guid":{"rendered":"http:\/\/www.huxter.org\/words\/?page_id=4232"},"modified":"2023-10-19T00:12:39","modified_gmt":"2023-10-19T00:12:39","slug":"3-dragon-bugs-you-say","status":"publish","type":"page","link":"http:\/\/www.huxter.org\/words\/?page_id=4232","title":{"rendered":"3 &#8211; Dragon Bugs You Say?"},"content":{"rendered":"<h1>Dragon Bugs You Say?<\/h1>\n<p>I had an idea to use Unity&#8217;s Animation system to move one object around a city. That object would have a dragon parented to it. So even though the dragon has a <strong>lot<\/strong> of joints, moving it around the city would <strong>not<\/strong> involve animating all those joints for a huge, lengthy path. Instead, it would move the whole dragon on a single joint, and then the dragon would simply animate a flapping motion and a gliding motion, along with a launch and landing animation. Those are all short animations, but they are played during the pathing, so we really got a huge animation efficiency from my idea.<\/p>\n<p>However, others wanted me to use an existing pathing system that our NPCs used, and while I thought it was possible, I knew it would not be as easy as using Unity&#8217;s Animators.<\/p>\n<p>This system caused bugs. The dragon kept flying off his den without flying, and would sometimes play its flying animations while sitting at its den. Among other bugs.<\/p>\n<p>So at one point, after getting dozens and dozens of bugs on this, I decided to rip out the pathing system and go with my original plan. After that, there were no bugs.<\/p>\n<p>(Recently during a 3D renovation of the city, which I was not involved in, the dragon was put back on a pathing system, and now there are bugs again.)<\/p>\n<p>So anyway, this game is based in reality. But just\u00a0<strong>based<\/strong> in reality, it is very specifically\u00a0<strong>not reality<\/strong>.<\/p>\n<p>But it certainly fueled the <strong>MacGuffin<\/strong> in this game.<\/p>\n<p>It got me to the office where the rest of the story could play out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dragon Bugs You Say? I had an idea to use Unity&#8217;s Animation system to move one object around a city. That object would have a dragon parented to it. So even though the dragon has a lot of joints, moving &hellip; <a href=\"http:\/\/www.huxter.org\/words\/?page_id=4232\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":4222,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/pages\/4232"}],"collection":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4232"}],"version-history":[{"count":1,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/pages\/4232\/revisions"}],"predecessor-version":[{"id":4233,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/pages\/4232\/revisions\/4233"}],"up":[{"embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/pages\/4222"}],"wp:attachment":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}