{"id":23,"date":"2013-06-18T14:33:53","date_gmt":"2013-06-18T14:33:53","guid":{"rendered":"http:\/\/redquark.com\/wp\/?p=23"},"modified":"2017-03-31T02:40:55","modified_gmt":"2017-03-31T02:40:55","slug":"so-close-but-yet-so-far","status":"publish","type":"post","link":"https:\/\/redquark.com\/wp\/?p=23","title":{"rendered":"So Close, But Yet So Far"},"content":{"rendered":"<p>I finally have my ball on the canvas. Unfortunately, it is not behaving well at all. Ideally right now it should just sit there because I have defined gravity as:<\/p>\n<p>b2Vec2(0.0, 0.0)<\/p>\n<p>But for some reason, the y-value is changing. To add weirdness to it, the y-value changes differently for different starting y positions. I think it has something to do with my &#8220;ground&#8221; bounding box. Time to do a little exploring.<\/p>\n<p><em>Update: It <strong>was<\/strong> a problem with my ground bounding box. My ball was inside the box. Turning the ground into a &#8220;wall&#8221; and placing the ball outside of it fixed the problem.<\/em><\/p>\n<p><em>Update update: <strong>I now have a bouncing ball!<\/strong> This might actually work now!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally have my ball on the canvas. Unfortunately, it is not behaving well at all. Ideally right now it should just sit there because I have defined gravity as: b2Vec2(0.0, 0.0) But for some reason, the y-value is changing. To add weirdness to it, the y-value changes differently for different starting y positions. I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-html5-game-development"],"_links":{"self":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23"}],"version-history":[{"count":6,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redquark.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}