Attaching Object to HMD
Sometimes, it might be necessary to attach some object to the HMD to follow it. It can be a menu (like the MenuAttachedToHead node in the sample), glasses with colored lenses, or a smoking cigar. To attach a node to the HMD position, assign the VRAttachToHead component to this node and specify the required settings: distance, forward direction axis (to properly orient the node facing the viewer), and flags indicating whether the node position is fixed and updated when the component is enabled.
Last update:
2024-11-06
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)