This page has been translated automatically.
UNIGINE 基础课程
1. 简介
2. 虚拟世界管理
3. 3D模型准备
4. 材质
5. 摄像机和光照系统
6. 实现应用程序逻辑
7. 制作过场动画与动画序列
8. 准备发布项目
9. 物理系统
10. 优化基础
11. 项目2:第一人称射击游戏
12. PROJECT3: Third-Person Cross-Country Arcade Racing Game

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 sample), glasses with colored lenses, or a smoking cigar. To attach a node to the HMD position, assign the AttachToHead property 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.

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 2024-11-06
Build: ()