{"id":2109,"date":"2021-12-21T12:21:09","date_gmt":"2021-12-21T17:21:09","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/?p=2109"},"modified":"2021-12-21T12:21:09","modified_gmt":"2021-12-21T17:21:09","slug":"player-physics-ben-r","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/2021\/12\/21\/player-physics-ben-r\/","title":{"rendered":"Player Physics &#8211; Ben R"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"143\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-8.png\" alt=\"\" class=\"wp-image-2110\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-8.png 505w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-8-300x85.png 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><figcaption>Max speed so holding W and D at same time doesn&#8217;t make you faster, friction is how quickly you slow down, and acceleration is how quickly you speed up<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"701\" src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-9.png\" alt=\"\" class=\"wp-image-2111\" srcset=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-9.png 847w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-9-300x248.png 300w, https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/image-9-768x636.png 768w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p>Little bit much since late post, but the animations are all stored in the animation tree, and the yellow bits with &#8220;parameters&#8221; get the values of the movement and translate it into what animation to play<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1440\" style=\"aspect-ratio: 2560 \/ 1440;\" width=\"2560\" controls src=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-content\/uploads\/sites\/1770\/2021\/12\/Desktop-2021.12.21-12.18.53.04.DVR_Trim.mp4\"><\/video><figcaption>Video showcasing movement (might be hard to see since small)<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Little bit much since late post, but the animations are all stored in the animation tree, and the yellow bits with &#8220;parameters&#8221; get the values of the movement and translate it into what animation to play<\/p>\n","protected":false},"author":3338,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"portfolio_post_id":0,"portfolio_citation":"","portfolio_annotation":"","openlab_post_visibility":"","footnotes":""},"categories":[43,56],"tags":[],"coauthors":[18],"class_list":["post-2109","post","type-post","status-publish","format-standard","hentry","category-developer","category-player-physics","entry"],"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/2109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/users\/3338"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/comments?post=2109"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/2109\/revisions"}],"predecessor-version":[{"id":2113,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/posts\/2109\/revisions\/2113"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/media?parent=2109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/categories?post=2109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/tags?post=2109"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-270-fall-2021\/wp-json\/wp\/v2\/coauthors?post=2109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}