{"id":4071,"date":"2016-10-30T23:05:34","date_gmt":"2016-10-30T23:05:34","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=4071"},"modified":"2016-10-30T23:05:34","modified_gmt":"2016-10-30T23:05:34","slug":"p-172-unity-space-environment-part-28-space-exploration-engine","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-172-unity-space-environment-part-28-space-exploration-engine\/","title":{"rendered":"P-172: Unity: Space Environment: Part 28: Space Exploration Engine"},"content":{"rendered":"<p>I have fixed all of the bugs with my current scene, all of my existing code is now working again.<\/p>\n<p>I have also, after some effort, integrated my player with the SEE. I have collision working, and the advanced camera is working. The camera system is a little unusual. It is actually two cameras, one with a long view distance, to render the skybox and distant terrain nodes, and one with a short view distance, to render closer objects. Both of these cameras combine together to render the scene, and this eliminates any z-buffer precision issues. Very clever.<\/p>\n<p>I have decided to integrate the SEE player with my own player, instead of switching to it. I had initially planned to have a separate player and &#8220;player with jetpack&#8221;, but since the jetpack functionality is really part of the player, I just added it to the player controller. I can switch it on and off easily, and it seems to work well.<br \/>\nI am assuming for now that the jetpack ignores gravity, ie, its movement is very simplistic, and allows the user to essentially &#8220;hover&#8221; in space. In future, I will need it to take into account the gravity of any nearby planets.<\/p>\n<p>The next, and hopefully final, goal with the SEE is to enable the player to control ships. I am just using the simple demo ship that game with the SEE for now, and the player can already walk around it easily, but I am having some issues with actually controlling it.<\/p>\n<p>It is difficult to post pictures of my progress, since, as I said, the unity editor can&#8217;t render the scene that the player actually sees, since it just uses a standard camera with a short view distance. I would need to build the engine and run it as a standalone application, which takes some time.<\/p>\n<figure id=\"attachment_4042\" aria-describedby=\"caption-attachment-4042\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4042\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM-300x163.jpg\" alt=\"Unity 24\/10\/2016 , 10:32:28 PM Unity Personal (64bit) - P0LabSEE.unity - New Unity Project - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-24_10_2016-10_32_28-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4042\" class=\"wp-caption-text\">Unity<br \/>24\/10\/2016 , 10:32:28 PM<br \/>Unity Personal (64bit) &#8211; P0LabSEE.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n<figure id=\"attachment_4043\" aria-describedby=\"caption-attachment-4043\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4043\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM-300x163.jpg\" alt=\"Unity 25\/10\/2016 , 02:29:11 AM Unity Personal (64bit) - P0Lab4.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-25_10_2016-02_29_11-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4043\" class=\"wp-caption-text\">Unity<br \/>25\/10\/2016 , 02:29:11 AM<br \/>Unity Personal (64bit) &#8211; P0Lab4.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_4044\" aria-describedby=\"caption-attachment-4044\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4044\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM-300x163.jpg\" alt=\"Unity 26\/10\/2016 , 12:11:22 AM Unity Personal (64bit) - P0Lab6.unity - New Unity Project - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_22-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4044\" class=\"wp-caption-text\">Unity<br \/>26\/10\/2016 , 12:11:22 AM<br \/>Unity Personal (64bit) &#8211; P0Lab6.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n<figure id=\"attachment_4045\" aria-describedby=\"caption-attachment-4045\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4045\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM-300x163.jpg\" alt=\"Unity 26\/10\/2016 , 12:11:37 AM Unity Personal (64bit) - P0Lab6.unity - New Unity Project - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-26_10_2016-12_11_37-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4045\" class=\"wp-caption-text\">Unity<br \/>26\/10\/2016 , 12:11:37 AM<br \/>Unity Personal (64bit) &#8211; P0Lab6.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n<figure id=\"attachment_4047\" aria-describedby=\"caption-attachment-4047\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_12-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4047\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_12-AM-300x169.jpg\" alt=\"sandbox 27\/10\/2016 , 02:36:12 AM SpaceExplorationEngine\" width=\"300\" height=\"169\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_12-AM-300x169.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_12-AM-768x432.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_12-AM-1024x576.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4047\" class=\"wp-caption-text\">sandbox<br \/>27\/10\/2016 , 02:36:12 AM<br \/>SpaceExplorationEngine<\/figcaption><\/figure>\n<figure id=\"attachment_4048\" aria-describedby=\"caption-attachment-4048\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_32-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4048\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_32-AM-300x169.jpg\" alt=\"sandbox 27\/10\/2016 , 02:36:32 AM SpaceExplorationEngine\" width=\"300\" height=\"169\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_32-AM-300x169.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_32-AM-768x432.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_36_32-AM-1024x576.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4048\" class=\"wp-caption-text\">sandbox<br \/>27\/10\/2016 , 02:36:32 AM<br \/>SpaceExplorationEngine<\/figcaption><\/figure>\n<figure id=\"attachment_4051\" aria-describedby=\"caption-attachment-4051\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_37_08-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4051\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_37_08-AM-300x169.jpg\" alt=\"sandbox 27\/10\/2016 , 02:37:08 AM SpaceExplorationEngine\" width=\"300\" height=\"169\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_37_08-AM-300x169.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_37_08-AM-768x432.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_10_2016-02_37_08-AM-1024x576.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4051\" class=\"wp-caption-text\">sandbox<br \/>27\/10\/2016 , 02:37:08 AM<br \/>SpaceExplorationEngine<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have fixed all of the bugs with my current scene, all of my existing code is now working again. I have also, after some effort, integrated my player with the SEE. I have collision working, and the advanced camera is working. The camera system is a little unusual. It is actually two cameras, one [&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-4071","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\/4071"}],"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=4071"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4071\/revisions"}],"predecessor-version":[{"id":4072,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4071\/revisions\/4072"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=4071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=4071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=4071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}