Elbow and knee joints not available in body tracking?

In the WWDC demo, the tracked skeleton showed a variety of joints being tracked; however, in jointTransforms or modelTransforms, only the following seem to be available: head, shoulders, hands, hip joint (root), and feet. Has anyone been able to access elbow or knee joints? The video also showed joints at the spine, are these not available either? Any help would be greatly appreciated.

Answered by DTS Engineer in 408961022

Hello,


Although not all of the joints have a defined constant in the ARSkeleton.JointName struct, you can still access them.


To get an array of all of the joint names call ARSkeletonDefinition.defaultBody3D.jointNames.


To use one of the joint name strings from that array:


bodyAnchor.skeleton.localTransform(for: ARSkeleton.JointName(rawValue: "spine_5_joint")) // Gets the local transform for the "spine_5_joint"
Accepted Answer

Hello,


Although not all of the joints have a defined constant in the ARSkeleton.JointName struct, you can still access them.


To get an array of all of the joint names call ARSkeletonDefinition.defaultBody3D.jointNames.


To use one of the joint name strings from that array:


bodyAnchor.skeleton.localTransform(for: ARSkeleton.JointName(rawValue: "spine_5_joint")) // Gets the local transform for the "spine_5_joint"

Thank you so much for this information!

Elbow and knee joints not available in body tracking?
 
 
Q