{"id":196,"date":"2014-07-06T15:42:30","date_gmt":"2014-07-06T22:42:30","guid":{"rendered":"http:\/\/www.thelastvertex.com\/?p=196"},"modified":"2014-07-06T22:42:00","modified_gmt":"2014-07-07T05:42:00","slug":"pivot-pivot-goes-the-widget","status":"publish","type":"post","link":"https:\/\/www.thelastvertex.com\/?p=196","title":{"rendered":"Pivot, pivot, goes the widget."},"content":{"rendered":"<p>The never ending camera saga. \u00a0I&#8217;ve finally got the new camera working fully, on PC at least. \u00a0I will have to test how it works on mobile hopefully sometime early next week. \u00a0For the moment I just want to play around with it a bit on PC and see how it feels.<\/p>\n<p>The camera is a combination of the two previous camera types&#8230;<!--more--> \u00a0An orbital camera that rotates around the player horizontally and vertically, and a pivot camera that only rotates around itself. \u00a0Each camera itself had problems with view-able ranges. \u00a0The orbital camera ensured you always had the player in view but prevented you from ever seeing the horizon or being able to look up at the rest of the world. \u00a0This comes back to the spherical world problem, where the horizon is always up, instead of down or horizontal like in real life.<\/p>\n<p>The pivot camera also had its own issues. \u00a0You could sometimes lose sight of your character, \u00a0if you turned very sharply it would be a \u00a0moment or two until the character turned to follow and re-entered your view. \u00a0The other is that you could never look in front of the character. \u00a0I discovered that anytime you crested a hill or mountain and were about to head down the other side you could never see what was approaching. \u00a0Looking down would only allow you to see the ground below the camera and behind the character. \u00a0You were unable to pitch the camera forward and look down in front of the character. \u00a0This was frustrating as you could never tell if you were just climbing a hill or about to leap off a cliff.<\/p>\n<p>So&#8230; By combining them I hope I can get around most of the draw backs of either, although there are still some minor issues I will have to play around and see how it feels before I try and come up with any other solutions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The never ending camera saga. \u00a0I&#8217;ve finally got the new camera working fully, on PC at least. \u00a0I will have to test how it works on mobile hopefully sometime early next week. \u00a0For the moment I just want to play around with it a bit on PC and see how it feels. The camera is<br \/><a class=\"moretag\" href=\"https:\/\/www.thelastvertex.com\/?p=196\">+ Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":209,"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\/196"}],"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=196"}],"version-history":[{"count":12,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=\/wp\/v2\/media\/209"}],"wp:attachment":[{"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelastvertex.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}