The 2020 SE has the A13 chip which supports all ARKit 3 features, including people occlusion.FYI This does not include ARKit 3.5 LiDAR features.
Post
Replies
Boosts
Views
Activity
It seems absolutely necessary to have a check like this for creating an MCNearbyServiceAdvertiser & Browser.
I hope it’s added otherwise this could affect users’ in app experiences really negatively if we can’t check before creating these experiences, especially if it’s being created within an AR scene for example.
I believe that what you want to try is when the anchor state changes on your AnchorEntity.
For that you can subscribe to SceneEvents.AnchoredStateChanged - https://developer.apple.com/documentation/realitykit/sceneevents/anchoredstatechanged.
an example of that might look like:
var eventSub: Cancellable?
eventSub = self.scene.subscribe(
	to: SceneEvents.AnchoredStateChanged.self,
	on: target
) { event in
	if event.isAnchored {
		// image found
	}
}
You must import the framework Combine to use Cancellable.
You can create this in code instead of storyboard for sure, the only issue is macOS and iOS have different initialisers for ARView.
When doing this previously, I just used an #if os(macOS) or similar to determine which one I'm using, and I get the exact same scene displayed on iOS and macOS.
If I remember correctly you can just specify which axis is up on exporting with Blender; that's probably the best choice here.