{"author_name":"Sam Driver","cat":"LD #25","comments":[],"epoch":1355669580,"likes":2,"metadata":{"p_key":"48337","p_author":"Sam Driver","p_authorkey":"507330","p_urlkey":"84012","p_title":"Scripted Movement Paths in a Hurry","p_cat":"LD #25","p_event":"LD25","p_time":"1355669580","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"507330","us_name":"Sam Driver","us_username":"Sam Driver","event_start":"1355443200","event_key":"14","event_name":"LD25"},"text":"<p>&nbsp;<\/p>\n <p>Don&#8217;t have a sensible workflow for creating movement paths? No problem! \u00a0Just make a mesh in Blender that&#8217;s a long chain of vertices where you want something to move:<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/12\/16\/scripted-movement-paths-in-a-hurry\/04-6\/\" rel=\"attachment wp-att-208583\"><img class=\"alignnone size-full wp-image-208583\" alt=\"04\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/04.png\" width=\"615\" height=\"379\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/04-550x338.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/04.png 615w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>Export that chain as a .obj file. That format is an easy to read plaintext file, with each vertex&#8217;s position given by a line beginning with &#8220;v&#8221;.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/12\/16\/scripted-movement-paths-in-a-hurry\/05-6\/\" rel=\"attachment wp-att-208586\"><img class=\"alignnone size-full wp-image-208586\" alt=\"05\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/05.png\" width=\"393\" height=\"137\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/05-300x104.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/05.png 393w\" sizes=\"(max-width: 393px) 100vw, 393px\" \/><\/a><\/p>\n <p>Just grab the vertex positions from that and you have a path to walk along. You can even copy-paste the vertex positions into your raw code if you&#8217;re in full LD panic mode.<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/tips\/\" rel=\"tag\">tips<\/a><\/p>","time":"December 16th, 2012 9:53 am","title":"Scripted Movement Paths in a Hurry"}