{"id":490,"date":"2013-01-25T01:29:05","date_gmt":"2013-01-25T08:29:05","guid":{"rendered":"http:\/\/chazix-scripts.com\/?p=490"},"modified":"2013-02-20T17:03:09","modified_gmt":"2013-02-21T00:03:09","slug":"update-1-4","status":"publish","type":"post","link":"https:\/\/chazix-scripts.com\/?p=490","title":{"rendered":"Update 1.4"},"content":{"rendered":"<p><a href=\"http:\/\/chazix-scripts.com\/wp-content\/uploads\/2013\/01\/GridGenerator.png\" rel=\"lightbox-490\"><img loading=\"lazy\" src=\"http:\/\/chazix-scripts.com\/wp-content\/uploads\/2013\/01\/GridGenerator-300x206.png\" alt=\"Grid Generator System\" width=\"300\" height=\"206\" class=\"alignleft size-medium wp-image-494\" srcset=\"https:\/\/chazix-scripts.com\/wp-content\/uploads\/2013\/01\/GridGenerator-300x206.png 300w, https:\/\/chazix-scripts.com\/wp-content\/uploads\/2013\/01\/GridGenerator-435x300.png 435w, https:\/\/chazix-scripts.com\/wp-content\/uploads\/2013\/01\/GridGenerator.png 997w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>Hey all, here is a partial update. The highlights include changes to the camera behavior more so programmatically, as well as the GridGenerator and aspects surrounding that. The GridGenerator will be utilized in a future update for path finding, formations and other aspects I can think of; that update is currently in the works.<\/p>\n<p>The Generator works by generating GridSquares a long the xz plane, where a slope value is best determined based around how parallel an object is with either the x or z axis.<\/p>\n<p><iframe loading=\"lazy\" width=\"584\" height=\"329\" src=\"http:\/\/www.youtube.com\/embed\/5wtkAfRiSQ4?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h2>Update Notes:<\/h2>\n<ul>\n<li>Added a sloped Platform .fbx model, included with a uv texture map<\/li>\n<li>Added a GridGenerator<\/li>\n<ul>\n<li>The GridGenerator.cs script will generate a grid a long the xz plane with various attributes<br \/>\n (rows, colums, width, height, depth, min\/max angle, rigidity)<\/li>\n<li>Includes an Ignore Mask, ignoring particular objects within that Layer; exlusion from raycast<\/li>\n<li>Sloped Objects need to be parallel to either the x or z axis for this to work properly<\/li>\n<\/ul>\n<li>Changed camera behavior<\/li>\n<ul>\n<li>Made it so the main camera will always rotate around a fixed point<\/li>\n<li>updated zooming in and out, which the min and max zoom values can be changed in the Main Camera inspector<\/li>\n<li>Added &#8220;Ignore Mask&#8221; option in the MovementSelectionBehavior.cs script.<\/li>\n<ul>\n<li>This tells the camera not to include these objects in a raycast to determine it&#8217;s rotate point<\/li>\n<\/ul>\n<\/ul>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hey all, here is a partial update. The highlights include changes to the camera behavior more so programmatically, as well as the GridGenerator and aspects surrounding that. The GridGenerator will be utilized in a future update for path finding, formations &hellip; <a href=\"https:\/\/chazix-scripts.com\/?p=490\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/posts\/490"}],"collection":[{"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=490"}],"version-history":[{"count":29,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/posts\/490\/revisions"}],"predecessor-version":[{"id":560,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=\/wp\/v2\/posts\/490\/revisions\/560"}],"wp:attachment":[{"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chazix-scripts.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}