Skip to content

This repository explores how to implement some visionOS basic features for the immersive mode.

License

Notifications You must be signed in to change notification settings

yuchenz27/unity-polyspatial-samples

Repository files navigation

visionOS_Unity_ImmersiveApp

This repository explores how to implement visionOS basic features for the immersive mode.

Simple Spatial Gesture Scene

This scene allows manipulation of cubes through both indirect gaze pinch and direct pinch in the shared space mode.

In this scene, we can manipulate the cubes via both indirect gaze pinch gesture and direct pinch. See script SharedSpaceInputManager for implementation.

ezgif-5-ed74bc79fb ezgif-1-590094f8b5

Use VisionOSHoeverEffect and VisionOSGroundingShadow to add hover effects and grouding shadows to the cubes.

Simple Immersive Space Scene

This scene is the minimal setup for an immersive space.

image

A floating cube staying fixed in the physical environment.

ezgif-1-79796de538

About

This repository explores how to implement some visionOS basic features for the immersive mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published