Forum Discussion
waynecochran
4 months agoProtege
Where anatomically is the HEAD joint
Not much detail here:
https://developers.meta.com/horizon/reference/spatial-sdk/v0.7.0/root/com.meta.spatial.toolkit/body-joint/h-e-a-d
Is it directly above where the spine meets the skull and behind the eyes? i.e. the "head atlas"? Is this a good pivot point for billboarding view screens?
3 Replies
Replies have been turned off for this discussion
- BulkywallnutMeta Employee
Hi!
The recommended way to get users head position for placing screens is via the AvatarAttachment component.
You can get the local head pose like so:// Function to get the pose of the user's head fun getHeadPose(): Pose { val head = Query.where { has(AvatarAttachment.id) } .filter { isLocal() and by(AvatarAttachment.typeData).isEqualTo("head") } .eval() .first() return head.getComponent<Transform>().transform }- waynecochranProtege
Yes, I have that exact code. But where is the head on the human body exactly? Is it the C1 vertebrae? Center of skull? midpoint between eyes?
- BulkywallnutMeta Employee
Hi,
It is the location of the headset in 3D Space.
For rendering purposes, it is also the midpoint between both eyes.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 4 years ago
- 8 years agoAnonymous
- 12 years ago
- 10 months ago