Multiple BodyTrackedEntities?

Can ARKit/RealityKit track multiple bodies for animation simultaneously?

Reviewing Apple's CapturingBodyMotionIn3D sample code (for WWDC2019 session), there is no explicit linkage between the ARBodyAnchor and the loaded BodyTrackedEntity (e.g., the AnchorEntity used for the BodyTrackedEntity is not associated with the ARBodyAnchor). There seems to be some hidden linkage between the ARKit ARBodyAnchor and the RealityKit BodyTrackedEntity.

Likewise, the ARFrame has a property for only a single ARBody2D (detectedBody).

My interpretation is that only a single person can be tracked at a time. Is this correct?

Answered by Vision Pro Engineer in 742678022

Yes, that's right.

Accepted Answer

Yes, that's right.

Multiple BodyTrackedEntities?
 
 
Q