In the visionOS app project, you can lock to wall / floor / ceiling / table / seat / window / door
through Plane classifications. How can I lock a View to one of them and change a Bool
variable to true
after successful locking?
Locked through Plane classifications
I believe the “update” method of your RealityView will fire when your entity appears in the scene.
You could check the .scene property of your entity at that time and observe it is non-nil.