CS-VR-Jenga

所属分类:虚拟/增强现实-VR/AR
开发工具:ShaderLab
文件大小:23899KB
下载次数:0
上传日期:2021-10-06 18:28:38
上 传 者sh-1993
说明:  虚拟现实中的詹加游戏
(A Jenga game in VR)

文件列表:
.vsconfig (99, 2021-10-07)
Assets (0, 2021-10-07)
Assets\ExampleAssets.meta (172, 2021-10-07)
Assets\ExampleAssets (0, 2021-10-07)
Assets\ExampleAssets\Materials.meta (172, 2021-10-07)
Assets\ExampleAssets\Materials (0, 2021-10-07)
Assets\ExampleAssets\Materials\ConstructionLight_Mat.mat (3745, 2021-10-07)
Assets\ExampleAssets\Materials\ConstructionLight_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\DryWallPainted_Mat.mat (3643, 2021-10-07)
Assets\ExampleAssets\Materials\DryWallPainted_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\DryWall_Mat.mat (3637, 2021-10-07)
Assets\ExampleAssets\Materials\DryWall_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Ground_Mat.mat (3743, 2021-10-07)
Assets\ExampleAssets\Materials\Ground_Mat.mat.meta (182, 2021-10-07)
Assets\ExampleAssets\Materials\Hammer_Mat.mat (3744, 2021-10-07)
Assets\ExampleAssets\Materials\Hammer_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\HardHat_Mat.mat (3745, 2021-10-07)
Assets\ExampleAssets\Materials\HardHat_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Jigsaw_Mat.mat (3849, 2021-10-07)
Assets\ExampleAssets\Materials\Jigsaw_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\LightBulb_Mat.mat (3462, 2021-10-07)
Assets\ExampleAssets\Materials\LightBulb_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Liquid_Mat.mat (3534, 2021-10-07)
Assets\ExampleAssets\Materials\Liquid_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Metal_Blue_Simple_Mat.mat (3738, 2021-10-07)
Assets\ExampleAssets\Materials\Metal_Blue_Simple_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Metal_Simple_Mat.mat (3682, 2021-10-07)
Assets\ExampleAssets\Materials\Metal_Simple_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\OBS_Mat.mat (3747, 2021-10-07)
Assets\ExampleAssets\Materials\OBS_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Paint1G_WAnim_Material.mat (3714, 2021-10-07)
Assets\ExampleAssets\Materials\Paint1G_WAnim_Material.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\PaintBrush_Mat.mat (3748, 2021-10-07)
Assets\ExampleAssets\Materials\PaintBrush_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\PaintLabel_Mat.mat (3622, 2021-10-07)
Assets\ExampleAssets\Materials\PaintLabel_Mat.mat.meta (188, 2021-10-07)
Assets\ExampleAssets\Materials\Plastic_Black_Mat.mat (3693, 2021-10-07)
Assets\ExampleAssets\Materials\Plastic_Black_Mat.mat.meta (188, 2021-10-07)
... ...

# CS-VR-Jenga A Jenga game in VR ## Project Setup 1. Create a new Unity URP Project 2. Window -> Package Manager -> Import XR plugin management 3. Edit -> Project Settings -> Player -> Active input handling -> Both 4. Restart Unity Project 5. Window -> Package Manager -> Advanced -> Enable preview packages 6. Package Manager -> XR Interaction Toolkit 7. Package Manager -> XRI Toolkit Samples 8. Add the left and right input samples to presets 9. Add filters to the presets 10. Edit -> Project Settings -> XR Plugin Management -> Enable Oculus (Android/PC) ## Project Flow 1. In the sample scene, remove all the assets except the Ground 2. Import custom package -> Choose VR Jenga Asset pack 3. Add the skybox 4. Add the table 5. Add the Jenga blocks 6. Create the XR Rig Action based 7. Add the Input System Manager 8. Add the controllers into parent objects 9. Create two more copies of controllers for both left and right each, name them Grab, Push and Teleport 10. Add Grab, Push, Teleport prefabs inside each controller type 11. Setup the controllers to match drag, push and teleport 12. Add Controller Switcher to both, add the objects 13. Open the Input asset, add "Controller Switcher" button to both Left and Right ## Setup Teleport 1. Locomotion System 2. Teleportation Provider 3. Teleportation Area

近期下载者

相关文件


收藏者