{"id":301,"date":"2021-01-04T02:42:52","date_gmt":"2021-01-04T02:42:52","guid":{"rendered":"https:\/\/lucyestela.com\/dev\/?p=301"},"modified":"2021-03-25T03:01:30","modified_gmt":"2021-03-25T03:01:30","slug":"uehl2_level","status":"publish","type":"post","link":"https:\/\/lucyestela.com\/dev\/unreal\/uehl2_level\/","title":{"rendered":"Unreal and Hololens 2 &#8211; Step 4 Create a Level"},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p class=\"\">Again&nbsp; I am taking instructions straight from a section in Microsoft&#8217;s Chess Tutorial. But I am just adding in a few extra pictures because I am a visual learner and this really helps me solidify what I&#8217;m doing in my head. So some people might find this quite slow and hand holdy, so sorry, maybe the Microsoft pages will be better for you.<\/p>\n<p class=\"\"><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/mixed-reality\/develop\/unreal\/tutorials\/unreal-uxt-ch2\">https:\/\/docs.microsoft.com\/en-us\/windows\/mixed-reality\/develop\/unreal\/tutorials\/unreal-uxt-ch2<\/a> The whole tutorial is great and recommend you read through it.<\/p>\n<p class=\"\">So,<\/p>\n<p class=\"\"><strong>CREATE YOUR LEVEL<\/strong> &#8211; Select <strong>File &gt; New Level<\/strong>&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-302 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-300x143.jpg\" alt=\"\" width=\"837\" height=\"399\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel1.jpg 2048w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">and choose&nbsp;<strong>Empty Level<\/strong>. The default scene in the viewport should now be empty.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-303 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-300x143.jpg\" alt=\"\" width=\"837\" height=\"399\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel2.jpg 2048w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><strong>CREATE PLAYER START &#8211;<\/strong> Select <strong>Basic<\/strong>&nbsp;from the&nbsp;<strong>Modes<\/strong>&nbsp;tab and drag&nbsp;<strong>PlayerStart<\/strong> into the scene.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-304 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-300x143.jpg\" alt=\"\" width=\"837\" height=\"399\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel3.jpg 2048w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p>Set&nbsp;<strong>Location<\/strong>&nbsp;to&nbsp;<strong>X = 0<\/strong>,&nbsp;<strong>Y = 0<\/strong>, and&nbsp;<strong>Z = 0<\/strong>&nbsp;in the&nbsp;<strong>Details<\/strong> tab to set the user at the centre of the scene when the app starts up.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/docs.microsoft.com\/en-us\/windows\/mixed-reality\/develop\/unreal\/tutorials\/images\/unreal-uxt\/2-playerstart.png\" alt=\"Viewport with PlayerStart\" width=\"817\" height=\"521\"><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><strong>ADD A CUBE &#8211;<\/strong> Drag a <strong>Cube<\/strong>&nbsp;from the&nbsp;<strong>Basic<\/strong>&nbsp;tab into the scene.<\/p>\n<ul class=\"\">\n<li>Set&nbsp;<strong>Location<\/strong>&nbsp;to&nbsp;<strong>X = 50<\/strong>,&nbsp;<strong>Y = 0<\/strong>, and&nbsp;<strong>Z = 0<\/strong>. to position the cube 50 cm away from the player at start time. (see picture above for where you&#8217;ll find Transform settings again)<\/li>\n<li>Change&nbsp;<strong>Scale<\/strong>&nbsp;to&nbsp;<strong>X = 0.2<\/strong>,&nbsp;<strong>Y = 0.2<\/strong>, and&nbsp;<strong>Z = 0.2<\/strong>&nbsp;to shrink the cube down.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-309 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-300x143.jpg\" alt=\"\" width=\"845\" height=\"403\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-1024x490.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevelcube.jpg 2048w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"\"><strong>ADD A LIGHT<\/strong> &#8211; Switch to the&nbsp;<strong>Lights<\/strong>&nbsp;tab in the&nbsp;<strong>Modes<\/strong>&nbsp;panel and drag a&nbsp;<strong>Directional Light<\/strong>&nbsp;into the scene. Position the light above&nbsp;<strong>PlayerStart<\/strong>&nbsp;so you can see it<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-305 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-300x143.jpg\" alt=\"\" width=\"839\" height=\"400\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-1024x490.jpg 1024w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/02\/newLevel4.jpg 2048w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><strong>SAVE YOUR FILE &#8211;<\/strong> Go to <strong>File &gt; Save Current As<\/strong>, name your level&nbsp;<strong>Main<\/strong>, and select&nbsp;<strong>Save<\/strong>.<\/p>\n<p class=\"\">With the scene set, press&nbsp;<strong>Play<\/strong>&nbsp;in the toolbar to see your cube in action! When you&#8217;re finished admiring your work, press&nbsp;<strong>Esc<\/strong>&nbsp;to stop the application.<\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-310 aligncenter\" src=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-300x143.jpg\" alt=\"\" width=\"837\" height=\"399\" srcset=\"https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-300x143.jpg 300w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-768x367.jpg 768w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-1536x734.jpg 1536w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-250x120.jpg 250w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-550x263.jpg 550w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-800x382.jpg 800w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-377x180.jpg 377w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-628x300.jpg 628w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5-1046x500.jpg 1046w, https:\/\/lucyestela.com\/dev\/wp-content\/uploads\/2021\/03\/newLevel5.jpg 2048w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<h4 class=\"\">&nbsp;<\/h4>\n<h3 class=\"\" style=\"text-align: center;\">&lt;&lt;&lt;&lt; STEP 3 &#8211; <a href=\"https:\/\/lucyestela.com\/dev\/unreal\/uehl2_plugins\/\">ADDING PLUGINS <\/a>&nbsp; &nbsp; &nbsp; &nbsp; STEP 5 &#8211; <a href=\"https:\/\/lucyestela.com\/dev\/unreal\/uehl2_mixedreality\/\">SET UP FOR MIXED REALITY &gt;&gt;&gt;&gt;<\/a><\/h3>\n<h3 class=\"\">&nbsp;<\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Again&nbsp; I am taking instructions straight from a section in Microsoft&#8217;s Chess Tutorial. But I am just adding in a few extra pictures because I am a visual learner and this really helps me solidify what I&#8217;m doing in my head. So some people might find this quite slow and hand holdy, so sorry, maybe &#8230; <a title=\"Unreal and Hololens 2 &#8211; Step 4 Create a Level\" class=\"read-more\" href=\"https:\/\/lucyestela.com\/dev\/unreal\/uehl2_level\/\" aria-label=\"More on Unreal and Hololens 2 &#8211; Step 4 Create a Level\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[60,59],"tags":[46,52,53,54,45],"class_list":["post-301","post","type-post","status-publish","format-standard","hentry","category-hololens-2","category-unreal","tag-hololens-2","tag-level","tag-lighting","tag-playerstart","tag-unreal"],"_links":{"self":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":10,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/301\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/301\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/media?parent=301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/categories?post=301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/tags?post=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}