In WWDC24, visionOS hand tracking has a new function that can make an entity track the hand faster (but at the expense of a certain degree of accuracy), and the video only explains how to implement ARKit, so please ask how to implement the anchorEntiy in the reality view.
Got it, sorry for the misunderstanding! You can use https://developer.apple.com/documentation/realitykit/anchoringcomponent/trackingmode-swift.struct/predicted
Try this:
let handAnchor = AnchorEntity(.hand(.right, location: .indexFingerTip), trackingMode: .predicted)
// Add the anchor to the scene.
content.add(handAnchor)
// Find the entity for the attachment.
if let entity = attachments.entity(for: "handAttachment") {
handAnchor.addChild(entity)
}