当前位置:网站首页>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
边栏推荐
- 手把手带你入门 API 开发
- 执行脚本不认\r
- RF analyze demo build step by step
- [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
- C语言字符串反转
- How to allow remote connection to MySQL server on Linux system?
- 在iptables防火墙下开启vsftpd的端口
- BYD and great wall hybrid market "get together" again
- C language modifies files by line
- Host based intrusion system IDS
猜你喜欢
Build your own website (23)
C language modifies files by line
Meituan side: why does thread crash not cause JVM crash
Mysql database DDL and DML
CC2530 common registers for port interrupts
Shentong express expects an annual loss of nearly 1billion
CC2530 common registers for ADC single channel conversion
utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library
[combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
Kotlin learning quick start (7) -- wonderful use of expansion
随机推荐
PHP production website active push (website)
線程池:業務代碼最常用也最容易犯錯的組件
visual studio “通常每个套接字地址(协议/网络地址/端口)只允许使用一次“
How to promote cross department project collaboration | community essay solicitation
Squid service startup script
UCORE overview
JSON 与 BSON 区别
Meituan side: why does thread crash not cause JVM crash
What is the material of sa302grc? American standard container plate sa302grc chemical composition
[Jianzhi offer] 64 Find 1+2+... +n
BYD and great wall hybrid market "get together" again
Kotlin learning quick start (7) -- wonderful use of expansion
[combinatorics] polynomial theorem (polynomial coefficients | full arrangement of multiple sets | number of schemes corresponding to the ball sub model | polynomial coefficient correlation identity)
New library online | cnopendata China bird watching record data
One brush 142 monotone stack next larger element II (m)
Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
Deep understanding of grouping sets statements in SQL
Difference between JSON and bson
CC2530 common registers
CC2530 common registers for crystal oscillator settings