{"id":3854,"date":"2016-10-02T21:03:41","date_gmt":"2016-10-02T20:03:41","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=3854"},"modified":"2016-10-02T21:03:41","modified_gmt":"2016-10-02T20:03:41","slug":"p-172-unity-space-environment-part-10","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-172-unity-space-environment-part-10\/","title":{"rendered":"P-172: Unity: Space Environment: Part 10"},"content":{"rendered":"<p>I have taken a short break from the texturing to work on vehicle control, and gravity modification.<\/p>\n<p>I have been able to, relatively easily, allow the player to take control of a vehicle (the default flying vehicle) and I have removed gravity from it. This gives me a very basic space vehicle.<\/p>\n<p>I have collision working, I can reliably swap control between the FPS controller and the vehicle. This was the hardest part, since I had to disable the control from one of the controllers to prevent the player from controlling their avatar and the vehicle at the same time.<\/p>\n<p>I was also able to implement triggers easily. I think my Unity skills are improving fairly quickly, I am able to do most of the basic things that I would need to do to make a game now.<\/p>\n<p>The only things I haven&#8217;t really looked at yet are AI and firing weapons, handling inventory, etc, and adding an animated player character mesh.<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_3834\" aria-describedby=\"caption-attachment-3834\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3834\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM-300x212.jpg\" alt=\"Unity 27\/09\/2016 , 04:42:00 PM\" width=\"300\" height=\"212\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM-300x212.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM-768x543.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM-1024x724.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_42_00-PM.jpg 1335w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3834\" class=\"wp-caption-text\">Unity<br \/>27\/09\/2016 , 04:42:00 PM<\/figcaption><\/figure>\n<figure id=\"attachment_3835\" aria-describedby=\"caption-attachment-3835\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3835\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM-300x212.jpg\" alt=\"Unity 27\/09\/2016 , 04:43:49 PM\" width=\"300\" height=\"212\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM-300x212.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM-768x543.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM-1024x724.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-27_09_2016-04_43_49-PM.jpg 1335w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3835\" class=\"wp-caption-text\">Unity<br \/>27\/09\/2016 , 04:43:49 PM<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/p4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3836\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/p4-300x300.jpg\" alt=\"p4\" width=\"300\" height=\"300\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/p4-300x300.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/p4-768x768.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/p4.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have taken a short break from the texturing to work on vehicle control, and gravity modification. I have been able to, relatively easily, allow the player to take control of a vehicle (the default flying vehicle) and I have removed gravity from it. This gives me a very basic space vehicle. I have collision [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17,10],"tags":[],"class_list":["post-3854","post","type-post","status-publish","format-standard","hentry","category-art-and-designs","category-p-0","category-software-and-games","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\/3854"}],"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=3854"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3854\/revisions"}],"predecessor-version":[{"id":3855,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3854\/revisions\/3855"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=3854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=3854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=3854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}