Day 23. VR菜单

耶~发现Unity Learn有教怎麽做VR Menu的单元课程。
 
 
 
Creating a VR Menu - 2019.2

 
 

课程会教你

Summary
In this tutorial, you’ll set up a VR Menu in World space and configure it so users can interact with it accordingly. By the end, you will be able to set the color of a panel by pointing at a button and pulling the trigger on the handset.

如何做菜单(废话

这个菜单可以用按钮来选择颜色。

 
 

笔记时间

要把Object的状态改成position(0,0,0)、rotation(0,0,0)、scale(1,1,1),除了直接输入外,还可以用reset,reset在Transform的三点选单(gear icon)里。除此之外,建议Camera的position为(0,3,-8)

 
 
 

Render Mode: World Space

// 按照整个场景的三维空间的座标

 
 
 

rect transform

// rect是rectangle的缩写

 
 
 

Install openVR package

// 现在也叫openXR Plugin,是说安装package,插件什麽的,每一个Project都是独立的

 
 
 

Raycasts, Colliders, and a LineRenderer.


//新名词

 
 
 

问题

2020版的Unity中:

  1. Player的other setting没看到Virtual Reality Supported
  2. 没找到XR Legacy Input Helpers package

参考:
https://learn.unity.com/tutorial/creating-a-vr-menu-2019-2#6036dc27edbc2a50f848a6fe
https://docs.unity3d.com/520/Documentation/Manual/PrimitiveObjects.html


<<:  DAY 23 - 四足战车 (4)

>>:  day23_如何采购 ARM 版本的 Mac 呢

以Postgresql为主,再聊聊资料库 width_bucket() 的介绍

前天的趣味SQL, 经过大家热烈的响应,有提到 width_bucket() https://ith...

聊天室(下)- 图文混排的实现

缘由: 前篇讲完布局,这篇讲讲我卡住最久的部分,想流畅地在打字时插入自订的表情符号,一开始是有些目标...

收集和引出软件开发专业中利害关系人的安全需要(needs)和需求(requirements)

-软件开发生命周期 (SDLC) – 设计 在(需求)分析中引出、收集、分析、指定、记录、验证、确...

DAY05 资料分析的步骤

一、资料分析步骤 资料分析大致流程分成这几个步骤。如下图所示。透过图示了解大致流程後,我们将来逐一探...

[Day 27] 系统开发导入(上)

在CISA中业务应用程序开发分成两类 以组织为中心 - 通常使用SDLC等较详尽的开发方法 以最终用...