{"id":1850,"date":"2013-04-09T16:16:27","date_gmt":"2013-04-09T13:16:27","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=1850"},"modified":"2013-12-10T12:09:29","modified_gmt":"2013-12-10T09:09:29","slug":"a-pathfinder-2d-3d","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2013\/04\/09\/a-pathfinder-2d-3d\/","title":{"rendered":"A* PathFinder 2D &#038; 3D"},"content":{"rendered":"<p><a title=\"start webplayer demo\" href=\"http:\/\/unitycoder.com\/upload\/demos\/AStarPathFinder3D\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1851\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/04\/09\/a-pathfinder-2d-3d\/pathfinder_astar_3d_2d_unity\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?fit=680%2C566&amp;ssl=1\" data-orig-size=\"680,566\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"pathfinder_aStar_3D_2D_unity\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?fit=680%2C566&amp;ssl=1\" class=\"alignnone size-full wp-image-1851\" alt=\"pathfinder_aStar_3D_2D_unity\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?resize=680%2C566\" width=\"680\" height=\"566\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?resize=300%2C249&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Converted this pathfinder to Unity: &#8220;<a title=\"Another faster version of A* (2D+3D) in C#\" href=\"http:\/\/roy-t.nl\/index.php\/2011\/09\/24\/another-faster-version-of-a-2d3d-in-c\/\" target=\"_blank\">Another faster version of A* (2D+3D) in C#<\/a>&#8221; (by Roy Triesscheijn)<\/p>\n<p>That was amazing:\u00a0<strong>0 errors<\/strong> when dragged those c# files into unity Oo!<\/p>\n<p>Just added those boxes and linerenderer to draw the path.. (main image is 20x20x20 grid with random cubes)<br \/>\nalso removed diagonal movement for now..<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\n<a title=\"http:\/\/unitycoder.com\/upload\/demos\/AStarPathFinder3D\/\" href=\"http:\/\/unitycoder.com\/upload\/demos\/AStarPathFinder3D\/\" target=\"_blank\"> http:\/\/unitycoder.com\/upload\/demos\/AStarPathFinder3D\/<\/a> (for some reason the linerenderer is not visible in webplayer..?)<\/p>\n<p><strong>Download source:<\/strong><br \/>\n<a title=\"Download \" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=888&amp;uid=un1t3c0d5r\" target=\"_blank\"> aStar3D.unityPackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converted this pathfinder to Unity: &#8220;Another faster version of A* (2D+3D) in C#&#8221; (by Roy Triesscheijn) That was amazing:\u00a00 errors when dragged those c# files into unity Oo! Just added those boxes and linerenderer to draw the path.. (main image is 20x20x20 grid with random [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1851,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,3],"tags":[65,62,474,68,476,433,475,216],"class_list":["post-1850","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-2d","tag-3d","tag-astar","tag-c","tag-csharp","tag-fast","tag-pathfinder","tag-simple"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/04\/pathfinder_aStar_3D_2D_unity.jpg?fit=680%2C566&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-tQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=1850"}],"version-history":[{"count":8,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1850\/revisions"}],"predecessor-version":[{"id":2535,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/1850\/revisions\/2535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/1851"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=1850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=1850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=1850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}