- Unity 2020 Virtual Reality Projects
- Jonathan Linowes
- 237字
- 2021-06-11 18:54:56
Using Gaze-Based Control
Right now, our diorama is a third-person virtual reality experience. When you go into it, you're like an observer or a third-person camera. Sure, you can look around and add controls that let you move the camera's viewpoint. However, any action in the scene is seen from a third-person perspective.
In this chapter, we'll pretty much stay in third-person mode, but we'll get a little more personally involved. We will explore techniques that can be used to control objects in your virtual world by looking and staring. Our character, Ethan, will be under your control, responding to where you look. Furthermore, we'll start programming the Unity scripts. Along the way, we will discuss the following topics:
- Adding AI (artificial intelligence) and a navmesh to our third-person character, Ethan
- Unity programming in C#
- Using your gaze to move a 3D cursor
- Shooting and killing Ethan, the zombie, to good effect
Most introductions to Unity development tip-toe you through the easy stuff and maybe never even get to the more interesting, although more complex, things. We're going to mix things up in this chapter, throwing you into a few different 3D graphics topics, some of which will be a little advanced. If it's new to you, think of this as a survey tutorial. Nonetheless, we'll go through it step by step, so you should be able to follow along and have a lot of fun too!
- Python for Secret Agents:Volume II
- 實(shí)戰(zhàn)Java程序設(shè)計(jì)
- C/C++常用算法手冊(cè)(第3版)
- PHP 編程從入門到實(shí)踐
- Learning Apache Karaf
- 大話Java:程序設(shè)計(jì)從入門到精通
- Python:Deeper Insights into Machine Learning
- Java Web應(yīng)用開發(fā)給力起飛
- Python 3快速入門與實(shí)戰(zhàn)
- JBoss AS 7 Development
- C++ Windows Programming
- 自己動(dòng)手做智能產(chǎn)品:嵌入式JavaScript實(shí)現(xiàn)
- Unreal Engine 4 Game Development Essentials
- 編程真好玩:從零開始學(xué)網(wǎng)頁設(shè)計(jì)及3D編程
- React Native -Building Mobile Apps with JavaScript