{"id":44,"date":"2011-12-10T18:51:08","date_gmt":"2011-12-10T18:51:08","guid":{"rendered":"http:\/\/mbackler.wordpress.com\/?p=44"},"modified":"2011-12-10T18:51:08","modified_gmt":"2011-12-10T18:51:08","slug":"the-script-bible","status":"publish","type":"post","link":"https:\/\/www.markbackler.com\/?p=44","title":{"rendered":"The Script Bible"},"content":{"rendered":"<p><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\">http:\/\/unity3d.com\/support\/documentation\/ScriptReference<\/a>\u00a0was very useful this morning for checking all the things I probably should know but don&#8217;t.<\/p>\n<p>I used:\u00a0<a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/CharacterController.Move.html\">http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/CharacterController.Move.html<\/a>\u00a0to redo my movement and get jumping working. I painstakingly\u00a0deconstructed\u00a0it and wrote it out myself to make sure I understood it and I&#8217;m now playing about with it to get double jumping working.<\/p>\n<p>I&#8217;ve updated my player character so its now just a plane. Initially there was an issue with needing to rotate the plane so it was facing the camera, which messed up the movement controls. I solved this by adding the Plane as a child of the player object so that its rotation doesn&#8217;t affect the Player.<\/p>\n<div id=\"attachment_45\" style=\"width: 559px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/mbackler.files.wordpress.com\/2011\/12\/2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-45\" class=\"size-full wp-image-45\" title=\"Jumping\" src=\"http:\/\/mbackler.files.wordpress.com\/2011\/12\/2.jpg\" alt=\"\" width=\"549\" height=\"299\" srcset=\"https:\/\/www.markbackler.com\/wp-content\/uploads\/2011\/12\/2.jpg 1920w, https:\/\/www.markbackler.com\/wp-content\/uploads\/2011\/12\/2-300x163.jpg 300w, https:\/\/www.markbackler.com\/wp-content\/uploads\/2011\/12\/2-1024x558.jpg 1024w, https:\/\/www.markbackler.com\/wp-content\/uploads\/2011\/12\/2-500x272.jpg 500w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><p id=\"caption-attachment-45\" class=\"wp-caption-text\">Jump around. Jump around! Get up! Get up! Get down! And so forth.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/unity3d.com\/support\/documentation\/ScriptReference\u00a0was very useful this morning for checking all the things I probably should know but don&#8217;t. I used:\u00a0http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/CharacterController.Move.html\u00a0to redo my movement and get jumping working. I painstakingly\u00a0deconstructed\u00a0it and wrote it out myself to make sure I understood it and I&#8217;m now playing about with it to get double jumping working. I&#8217;ve updated my player character [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,19],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-jumping","category-movement"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}