![]() ![]() ![]() With the scene set, press Play in the toolbar to see your cube in action! When you're finished admiring your work, press Esc to stop the application. Go to File > Save Current, name your level Main, and select Save.Position the light above PlayerStart so you can see it.In the Modes panel, switch to the Lights tab and drag a Directional Light into the scene.You can't see the cube unless you add a light to your scene, which is your last task before testing the scene. Change the cube's Scale to X = 0.2, Y = 0.2, and Z = 0.2.Set the cube's Location to X = 50, Y = 0, and Z = 0 to position the cube 50 cm away from the player at start.From the Basic tab, drag a Cube into the scene.In the Details tab, set Location to X = 0, Y = 0, and Z = 0 to place the user at the center of the scene when the app starts.From the Modes tab, select Basic and drag PlayerStart into the scene.The default scene in the viewport should now be empty Select File > New Level and choose Empty Level.Your next task is to create a player setup with a starting point and a cube for reference and scale. With the plugins enabled, you can focus on filling it with content. The HandInteraction plugin will suffice for the "Pinch" gesture you'll use later, but if you want to go beyond the basics you'll need to download the Microsoft OpenXR plugin. This tutorial uses OpenXR, but the two plugins you've installed above don't currently provide the full feature set for HoloLens development. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |