当前位置:网站首页>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
边栏推荐
- Pools de Threads: les composants les plus courants et les plus sujets aux erreurs du Code d'affaires
- [JDBC] API parsing
- 智慧之道(知行合一)
- Depth first search of graph
- What is your income level in the country?
- What material is sa537cl2? Analysis of mechanical properties of American standard container plate
- Mysql database DDL and DML
- 比亚迪、长城混动市场再“聚首”
- ucore概述
- What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material
猜你喜欢

CC2530 common registers for crystal oscillator settings

How do large consumer enterprises make digital transformation?

What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties

Mysql database -dql

One brush 149 force deduction hot question-10 regular expression matching (H)

One brush 145 force deduction hot question-2 sum of two numbers (m)

What is your income level in the country?

What is the pledge pool and how to pledge?

Recommendation of good books on learning QT programming

Meituan side: why does thread crash not cause JVM crash
随机推荐
Mysql database DDL and DML
Bcvp developer community 2022 exclusive peripheral first bullet
智慧之道(知行合一)
新库上线 | CnOpenData中国保险机构网点全集数据
Redis:关于列表List类型数据的操作命令
Necessary ability of data analysis
Kindeditor editor upload image ultra wide automatic compression -php code
CC2530 common registers for port initialization
29: Chapter 3: develop Passport Service: 12: develop [obtain user account information, interface]; (use VO class to package the found data to meet the requirements of the interface for the returned da
Installation and configuration of network hard disk NFS
JSON 与 BSON 区别
CC2530 common registers for watchdog
关于学习Qt编程的好书精品推荐
ANOVA example
网络安全web渗透技术
[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
How to allow remote connection to MySQL server on Linux system?
Kotlin学习快速入门(7)——扩展的妙用
Fast Ethernet and Gigabit Ethernet: what's the difference?
Kotlin learning quick start (7) -- wonderful use of expansion