oculus-samples / Unity-TheWorldBeyond

Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer. The Oculus SDK and other supporting material is subject to the Oculus proprietary license. Multiple licenses may apply.
MIT License
321 stars 88 forks source link

How to select Windows and Door frames #6

Open gatlee21 opened 1 year ago

gatlee21 commented 1 year ago

I saw a comment in the code that said doors and windows aren't used in the experience because they would add complexity. However, it would be nice to have some sample code on how they could be included.

For instance, even if you allow windows and doors to be selected: they'll always be occluded by the WallFace.

PanyaMeta commented 1 year ago

Good suggestion on how to include it in the core experience. There might be some added state management required, but we will look into it and leave this issue open. For now, you can also check out the VirtualFrames sample we just landed in the project (details in the updated Readme) :) https://github.com/oculus-samples/Unity-TheWorldBeyond/tree/main/Assets/SampleScenes