{"id":5877,"date":"2017-09-24T20:49:54","date_gmt":"2017-09-24T19:49:54","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=5877"},"modified":"2017-09-24T20:49:54","modified_gmt":"2017-09-24T19:49:54","slug":"p0-ms4-part-245-infinite-universe-ftl-travel","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-ms4-part-245-infinite-universe-ftl-travel\/","title":{"rendered":"P0-MS4: Part 245: Infinite Universe, FTL Travel"},"content":{"rendered":"<p>I have made changes to my Nav guis to allow fast travel to different zones, and within zones. I am using both a coordinate system (in world space) and an option to travel to the ID of a particular object in the world.<\/p>\n<p>I am also checking that the coordinates that the player is flying to do not fall within the radius of an object, and if they do, I am modifying their positions to be just outside the radius, to prevent collisions.<\/p>\n<p>Currently, I am just randomly placing objects within the zone. I will eventually need to create proper solar systems, with a central star, and several orbiting planets, etc.<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_5868\" aria-describedby=\"caption-attachment-5868\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5868\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM-300x163.jpg\" alt=\"Unity 22\/09\/2017 , 02:03:32 PM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/PhoenixGameDevelopment-22_09_2017-02_03_32-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5868\" class=\"wp-caption-text\">Unity<br \/>22\/09\/2017 , 02:03:32 PM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have made changes to my Nav guis to allow fast travel to different zones, and within zones. I am using both a coordinate system (in world space) and an option to travel to the ID of a particular object in the world. I am also checking that the coordinates that the player is flying [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-5877","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5877"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=5877"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5877\/revisions"}],"predecessor-version":[{"id":5878,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5877\/revisions\/5878"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=5877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=5877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=5877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}