注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
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, and flags indicating whether the node position is fixed and updated when the component is enabled.
Last update:
2024-04-08
Help improve this article
(or select a word/phrase and press Ctrl+Enter)