I was trying to put an anchor at a person's left hand. I am stuck! Please help. Here is what I was able to do so far:
https://developer.apple.com/documentation/realitykit/entity/3244058-convert
This API seems exactly fitting my requirements. However, to use it, it seems really strange: I will need to create two entities - I will need to create an empty entity in the World space and then create an entity to be anchored at the hip of the person (for from parameter).
Could someone help me on this?
Thank you!
Body Tracking and got body anchor. Works fine.
Got left hand transform relative to body hip. Works fine.
Compute hand transform relative to world - I have questions
https://developer.apple.com/documentation/realitykit/entity/3244058-convert
Code Block swift func convert(normal: SIMD3<Float>, from referenceEntity: Entity?) -> SIMD3<Float>
This API seems exactly fitting my requirements. However, to use it, it seems really strange: I will need to create two entities - I will need to create an empty entity in the World space and then create an entity to be anchored at the hip of the person (for from parameter).
Could someone help me on this?
Thank you!