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 head_menu node in the template), glasses with colored lenses, or a smoking cigar. To attach a node to the HMD position, assign the AttachToHead property to this node and configure it.

Settings: Distance from the head, Node Forward Direction Axis to properly orient the node facing the viewer, and Update Position On Enable to recalculate the direction each time the component is re-enabled.
The information on this page is valid for UNIGINE 2.22 SDK.
Last update:
2026-09-11 03:51:51