{"author_name":"Eliot","cat":"LD #22","comments":[],"epoch":1324146120,"likes":0,"metadata":{"p_key":"61483","p_author":"Eliot","p_authorkey":"8628","p_urlkey":"97248","p_title":"Progress \u2013 wall grabbing","p_cat":"LD #22","p_event":"LD22","p_time":"1324146120","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"8628","us_name":"Eliot","us_username":"eliot","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<p>I finally got the player to &#8220;grab&#8221; onto a wall. The routine isn&#8217;t quite finished yet, but I managed to calculate the new angle of rotation based off of the normal of the surface the astronaut collides with.<\/p>\n <p>Now I just need to implement logic to constrain his\u00a0movement while attached to a wall, and allow him to climb and mantle around surfaces.<\/p>\n <p>This page was helpful for explaining the math needed:<br \/>\n <a href=\"http:\/\/www.euclideanspace.com\/maths\/algebra\/vectors\/angleBetween\/index.htm\">http:\/\/www.euclideanspace.com\/maths\/algebra\/vectors\/angleBetween\/index.htm<\/a><\/p>\n <p>I&#8217;m a little concerned that it&#8217;s taking too long to implement the movement and it won&#8217;t leave enough time for level design, etc. But the whole point of this game is the unconventional movement so it&#8217;s important to take the time to get the feel right. This may wind up just being a movement prototype and I will finish the actual game later. Hey, if Terry Cavanagh can do it, so can I! <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>","time":"December 17th, 2011 1:22 pm","title":"Progress \u2013 wall grabbing"}