{"id":5879,"date":"2017-09-24T21:01:06","date_gmt":"2017-09-24T20:01:06","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=5879"},"modified":"2017-09-24T21:01:06","modified_gmt":"2017-09-24T20:01:06","slug":"p0-ms4-part-246-infinite-universe-ftl-travel","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-ms4-part-246-infinite-universe-ftl-travel\/","title":{"rendered":"P0-MS4: Part 246: Infinite Universe, FTL Travel"},"content":{"rendered":"<p>I can now travel to most of the objects with the current zone of the game world.<\/p>\n<p>There are some issues with the scaling and distance of some of the objects. I am using realistic scales and distances for the objects in the background, while keeping the player at the origin.<\/p>\n<p>This makes the system a lot more realistic, and easier to work with. I may need to implement some kind of distance based scaling system in the future, where objects would be placed at a certain maximum distance from the user, and then scaled down to simulate further distances, but so far I seem to be able to use realistic values with few issues, as long as the player is kept at the origin.<\/p>\n<p>The next step is to implement the zone transition. I need to delete all of the objects in the current zone, and then instantiate the objects in the new zone. In future, I would be covering up this transition with an animation.<\/p>\n<p>&nbsp;<\/p>\n<p><figure id=\"attachment_5870\" aria-describedby=\"caption-attachment-5870\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5870\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1-300x221.jpg\" alt=\"Unity 20\/09\/2017 , 12:31:17 AM Unity 5.6.0f3 Personal (64bit) - P0Main.unity - P0-MS3 - PC, Mac &amp; Linux Standalone*  [SCM]actwin,6360,1071,8280,2111;\" width=\"300\" height=\"221\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1-300x221.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1-768x566.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1-1024x755.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-1.jpg 1667w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5870\" class=\"wp-caption-text\">Unity<br \/>20\/09\/2017 , 12:31:17 AM<br \/>Unity 5.6.0f3 Personal (64bit) &#8211; P0Main.unity &#8211; P0-MS3 &#8211; PC, Mac &amp; Linux Standalone*<br \/>[SCM]actwin,6360,1071,8280,2111;<\/figcaption><\/figure><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5871\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2-300x220.jpg\" alt=\"ss24-2\" width=\"300\" height=\"220\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2-300x220.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2-768x562.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2-1024x749.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-2.jpg 1667w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5872\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3-300x229.jpg\" alt=\"ss24-3\" width=\"300\" height=\"229\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3-300x229.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3-768x585.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3-1024x780.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-3.jpg 1664w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5874\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4-300x222.jpg\" alt=\"ss24-4\" width=\"300\" height=\"222\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4-300x222.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4-768x569.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4-1024x759.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/09\/ss24-4.jpg 1684w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I can now travel to most of the objects with the current zone of the game world. There are some issues with the scaling and distance of some of the objects. I am using realistic scales and distances for the objects in the background, while keeping the player at the origin. This makes the system [&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-5879","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\/5879"}],"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=5879"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions"}],"predecessor-version":[{"id":5880,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions\/5880"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=5879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=5879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=5879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}