{"id":378,"date":"2018-10-29T18:00:57","date_gmt":"2018-10-29T23:00:57","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=378"},"modified":"2018-10-29T14:34:04","modified_gmt":"2018-10-29T19:34:04","slug":"gravity","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/10\/29\/gravity\/","title":{"rendered":"Gravity"},"content":{"rendered":"<p>A basic, working system for gravity is now in place.\u00a0 Eventually I would like for gravity to work a little more realistically because right now you fall at a rate of 9.81 m\/s, not 9.81 m\/s\u00b2.\u00a0 This isn&#8217;t a huge deal, but eventually I want to make it so that falling off a cliff means the character&#8217;s falling speed increases until he hits the ground, then use that impact speed to determine how much, if any, damage the character should take in the fall.\u00a0 Still, I&#8217;m really excited a player can now stand on top of a box, or a fence, or whatever.\u00a0 There is still plenty of adjusting to do.\u00a0 For instance, I&#8217;m not sure what would happen if a player stood on a sloped roof.\u00a0 My desire is that a character would slide down a steep slope but not on a shallow slope, but that will likely come later.\u00a0 Now that the major pieces of my collision system are in place, I absolutely have to spend the time to refactor that part of the code to be more usable.\u00a0 That will take at least a few days, but I&#8217;m happy to be moving forward again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A basic, working system for gravity is now in place.\u00a0 Eventually I would like for gravity to work a little more realistically because right now you fall at a rate of 9.81 m\/s, not 9.81 m\/s\u00b2.\u00a0 This isn&#8217;t a huge deal, but eventually I want to make it so that falling off a cliff means&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-planning-and-development"],"_links":{"self":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/comments?post=378"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/378\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}