当前位置:网站首页>Unity notes unityxr simple to use
Unity notes unityxr simple to use
2022-07-03 17:05:00 【(-_-!)】
Record Unity XR Easy to use
One . Plug in import
- Plug in import :
- open PackageManager
- add to XRInteractionToolki
- add to XRPluginManagement

- Set up the environment
- ProjectSettings—>Player—>XRSettings-->VirtualRealitySupported-->VirtualRealitySDKs-->OpenVR
- VirtualRealitySupported Options need to be checked before proceeding to the next step
- OpenVR You can choose your own platform according to your needs

- add to XR The camera , Right click Hierarchy panel —>XR-->Device-based-->Room-ScaleXRRig

Two . Brief introduction to the panel
1.XRRig-->CameraOffset-->RightHandController/ LeftHandController-->XRController

2.SelectUsage The option is ray trigger, and the default is Grip You can change the keys you need according to the needs of the project
3.XRRayInteractor The script RaycastCnfigUration In the attribute LineType Tab can set the shape of rays, including Line( A straight line ) BezierCurve( Bessel curve )

- Set the color of rays —XRInteractoLineVisual( Script )
ValidColorGradient Available colors
InvalidColorGradient Unavailable colors

Add teleport script
- choice XRRige object
- to XRRige add to TeleportationProvider and LocomotionSystem Script
- When the addition is complete, the XRRig Drag them to the script System and XRRig term

- Create a Plane And add TeleportationArea Script

5. Then it's basically like this
边栏推荐
- Résolution de l'instance d'assemblage - - affichage à l'écran en mode réel
- [combinatorics] recursive equation (definition of general solution | structure theorem of general solution of recursive equation without multiple roots)
- Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
- Javescript variable declaration -- VaR, let, const
- 远程办公之如何推进跨部门项目协作 | 社区征文
- C语言字符串反转
- One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
- Meituan side: why does thread crash not cause JVM crash
- [Jianzhi offer] 58 - ii Rotate string left
- [combinatorial mathematics] counting model, common combinatorial numbers and combinatorial identities**
猜你喜欢

Kotlin学习快速入门(7)——扩展的妙用

What is your income level in the country?

What material is sa537cl1? Sa537cl1 corresponds to the national standard material

Bcvp developer community 2022 exclusive peripheral first bullet

Static program analysis (I) -- Outline mind map and content introduction

ANOVA example

Atom QT 16_ audiorecorder

Fast Ethernet and Gigabit Ethernet: what's the difference?

PHP online confusion encryption tutorial sharing + basically no solution

CC2530 common registers for timer 1
随机推荐
执行脚本不认\r
CC2530 common registers for crystal oscillator settings
Execute script unrecognized \r
How to allow remote connection to MySQL server on Linux system?
手把手带你入门 API 开发
29:第三章:开发通行证服务:12:开发【获得用户账户信息,接口】;(使用VO类包装查到的数据,以符合接口对返回数据的要求)(在多处都会用到的逻辑,在Controller中可以把其抽成一个共用方法)
线程池:业务代码最常用也最容易犯错的组件
Web crawler knowledge day03
免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material
One brush 148 force deduction hot question-5 longest palindrome substring (m)
CC2530 common registers for port initialization
Difference between JSON and bson
定义一个结构体Fraction,表示分数,用于表示 2/3, 5/6这样的分数
How to promote cross department project collaboration | community essay solicitation
[Jianzhi offer] 57 - ii Continuous positive sequence with sum s
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
C language string practice
[2. Basics of Delphi grammar] 1 Identifiers and reserved words
[combinatorics] recursive equation (the relationship theorem between the solution of the recursive equation and the characteristic root | the linear property theorem of the solution of the recursive e