styly-dev / STYLY-XR-Rig

MIT License
1 stars 0 forks source link

STYLY-XR-Rig

STYLY-XR-Rig is intended to help creators and STYLY developers to make experiences on multi platforms including Vision Pro.

This XR Rig is currently used only in STYLY for Vision Pro (not in other STYLY App for other HMDs)

How to add STYLY-XR-Rig

Right click on the hierarchy window to open the menu. Select STYLY-XR-Rig in the XR section.

How To Add STYLY XR Rig

Features

Requirements

How the Rig is made

This section is written for maintenance purpose of this repository.

Required samples installation (automatically)

Required packages and package samples are automatically installed into /Assets/Samples directory after you install this package or open the development project. The required samples are listed in required_samples.json

STYLY-XR-Rig structure

Create XR Origin Hands (XR Rig) Variant from Assets/Samples/XR Interaction Toolkit/x.x.x/Hands Interaction Demo/Prefabs/XR Origin Hands (XR Rig) in Packages/com.styly.styly-xr-rig/Runtime/Prefabs/XR Origin Hands (XR Rig) Variant.prefab

Create prefab instance of XR Origin Hands (XR Rig) Variant under STYLY-XR-Rig

Add ARAnchorManager.cs to XR Origin Hands (XR Rig) Variant and set enabled. This manager script cannot be added at runtime.

Create empty prefab _Added

Add two prefabs instances as children of _Added from Assets/Samples/XR Interaction Toolkit/3.0.3/visionOS/Prefabs/Interactors

Create empty prefab XRRigManager as a child of _Added and attach scripts

Create empty prefab VolumeCamera as a child of _Added and attach scripts