Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.97k stars 1.11k forks source link

Dynamic Quest plane detection #1135

Closed DairexLord1 closed 6 months ago

DairexLord1 commented 6 months ago

I am developing AR Quest app I want to implement plane detection mechanics as in game :

Снимок экрана 2023-12-22 в 14 34 47

How to detect planes without setting Room Setup in Quest ?
Is there the way also to detect dynamic objects and create planes for them ?

tdmowrer commented 6 months ago

Quest does not support realtime plane detection (and neither does First Encounters) but the ARPlaneManager will manage planes created during Space Setup.

What aspect of First Encounter that appears to use plane detection are you trying to replicate?

DairexLord1 commented 6 months ago

I an trying to create both Ar project for mobile phones, Meta and Apple vision and the one of main points is to put objects on real world planes and dynamic objects, If i understood correct, only preseted in Oculus environment data can be processed in ar foundation?

DairexLord1 commented 6 months ago

In meta (first encounters game) it looks like planes are created from scanned in real time objects

tdmowrer commented 6 months ago

AR Foundation provides access to whatever plane data is available. On Quest, planes are defined during Space Setup. On mobile, planes are detected while the app is running.

First Encounters also requires the user to perform Space Setup. However, it makes use of the mesh, which allows for more complex uses of the environment. The mesh produced during Space Setup is not yet available in AR Foundation.

andyb-unity commented 6 months ago

@tdmowrer is exactly correct. You can vote on Quest Meshing Support in Unity's XR Roadmap in the AR Foundation tab. This work is currently planned for next year.

I'm closing this issue as asked and answered, but feel free to re-open it if you have further questions.