{"id":4722,"date":"2017-02-12T23:53:51","date_gmt":"2017-02-12T23:53:51","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=4722"},"modified":"2017-02-13T00:07:25","modified_gmt":"2017-02-13T00:07:25","slug":"p0-p-172-part-106-ship-control","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-p-172-part-106-ship-control\/","title":{"rendered":"P0-P-172: Part 106: Ship Control"},"content":{"rendered":"<p>I will need to rotate the skybox as well, in order to make my solution work. I will probably need to do this in the shader. I am currently using an image based skybox shader, but I will need to change this later, so it is important that whatever solution I implement for the rotation be as future-proof as possible.<\/p>\n<p>I still cannot get the rotation working on the planets. I have tried rotating the chunks individually, rotating the chunk container, and rotating the planet itself, but none of these solutions produced the desired results.<\/p>\n<p>I might need to consider rotating the &#8220;ship&#8221; itself, and all of its interior objects. I did some experimentation with this, and it actually seemed to work ok, but it might not be as bad an idea as I first thought.<\/p>\n<p>I may have to postpone this for a while, and work on something else.<\/p>\n<figure id=\"attachment_4712\" aria-describedby=\"caption-attachment-4712\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4712\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM-300x163.jpg\" alt=\"Unity 08\/02\/2017 , 10:43:42 PM Unity Personal (64bit) - P0Main.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_42-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4712\" class=\"wp-caption-text\">Unity<br \/>08\/02\/2017 , 10:43:42 PM<br \/>Unity Personal (64bit) &#8211; P0Main.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_4711\" aria-describedby=\"caption-attachment-4711\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4711\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM-300x163.jpg\" alt=\"Unity 08\/02\/2017 , 10:43:21 PM Unity Personal (64bit) - P0Main.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/02\/PhoenixGameDevelopment-08_02_2017-10_43_21-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-4711\" class=\"wp-caption-text\">Unity<br \/>08\/02\/2017 , 10:43:21 PM<br \/>Unity Personal (64bit) &#8211; P0Main.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I will need to rotate the skybox as well, in order to make my solution work. I will probably need to do this in the shader. I am currently using an image based skybox shader, but I will need to change this later, so it is important that whatever solution I implement for the rotation [&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-4722","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\/4722"}],"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=4722"}],"version-history":[{"count":3,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4722\/revisions"}],"predecessor-version":[{"id":4731,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/4722\/revisions\/4731"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=4722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=4722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=4722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}