Unity - VR - Step运用

制作 VR 虚拟实境游戏控制玩家在 3D 空间移动,实际上是一个重要的问题,使用键盘滑鼠缺乏真实体验,VR 跑步机的成本太高,透过VR-Step 教学让您以低成本制作直觉移动的功能。

汇入 Cardboard SDK For Unity 资源包与 VR-Step 资源包。
https://ithelp.ithome.com.tw/upload/images/20201012/20130055O7Y4hKPR23.jpg

VR-Step Demo场景 JumpGame
https://ithelp.ithome.com.tw/upload/images/20201012/20130055jGwCPOmkNm.jpg

VR-Step_DemoScenes_GVRJumpGame
https://ithelp.ithome.com.tw/upload/images/20201012/20130055w5ED59S7Vw.jpg

关闭 VR 模式的游戏画面
https://ithelp.ithome.com.tw/upload/images/20201012/20130055QrKg8ou4jO.png

关闭 Distortion Correction 变形校正的游戏画面
https://ithelp.ithome.com.tw/upload/images/20201012/20130055LG3ZgZhvgo.png

选项 Device Type 可以选择 Google Cardboard 眼镜的类型
https://ithelp.ithome.com.tw/upload/images/20201012/20130055qjuQ6pWn6R.png

如果摄影机需要套用影像效果,记得取消 Main Camera 摄影机物件 Stereo Controller 元件下的 Direct Render 功能
https://ithelp.ithome.com.tw/upload/images/20201012/20130055YhcPcv7ezN.png

例如套用 Antialiasing 消除锯齿效果,可以让 3D 画面看起来较柔和,减少物件边缘的突兀感
https://ithelp.ithome.com.tw/upload/images/20201012/20130055L6S3h5SFKf.png

建立一个 C# 脚本,让玩家在 VR 游戏能够使用技能
https://ithelp.ithome.com.tw/upload/images/20201012/20130055afKTyEF36O.png

游戏中使用技能的效果
https://ithelp.ithome.com.tw/upload/images/20201012/201300558gBRovMotW.pnghttps://ithelp.ithome.com.tw/upload/images/20201012/20130055jkS4Y3gnEw.pnghttps://ithelp.ithome.com.tw/upload/images/20201012/20130055XJRdcMdGRC.png


<<:  Day29

>>:  vue3 Composition API 学习手册-30 实战API练习

学习如何以输入增加知识

如何有效输入从听 Podcast、有声书,到文章集结成册的出版书籍。我们的世界有多元化的方式供大家选...

Angular 深入浅出三十天:表单与测试 Day07 - 整合测试实作 - 登入系统 by Template Driven Forms

昨天帮我们用 Template Driven Forms 所撰写的登入系统写完单元测试之後,今天则...

Day 24 - Shiaoji.Login踩坑经验及修正

今天原本想开始抓个股的kbar资料及後续处理,结果在清洗Contract资料时,发现抓出来的TSE+...

机器学习:Feature Engineering 课程学习总结

总结:通过对features进行归类和操作,让features更加符合traindata的需求; 1...

Day30 :【TypeScript 不用学了】我终於完赛了!

终於完赛了!最近跑去画画,附上一幅《小王子与小狐狸》,小王子里面,最喜欢的就是他们的故事,是说画画...