[BUG] Head tracking produces 180° neck flip on models with non-identity Head rest rotation
What happened?
When head follows mouse is enabled (the avatar follows the cursor), the Head bone snaps to a ~180° Y rotation and jumps between angles in sudden increments, completely skipping the range that faces the camera. When head follows mouse is disabled, the neck displays correctly with the model's default animation pose.
当开启头部跟随鼠标功能时,有时候角色头部会突然180°Y轴转向,或者旋转时在各个角度之间跳跃,略过了直接朝向用户屏幕的角度。关闭头部跟随鼠标之后,角色头部的角度正常显示为默认角度。
This occurs specifically on models where the Head bone's rest localRotation in Neck space is not identity (e.g., ~180° Y on Shinano / しなの VRM). The issue is reproducible across most export pipelines: UniVRM 0.x, UniVRM 1.0, and NDMF VRM1.0 Export+VRM to MateSDK .me exports.
这种情况目前仅在角色的颈部骨骼的默认旋转角度不是(0,0,0),例如Shinano模型导出的VRM模型。这个问题使用不同的导出工具均可复现,如UniVRM0.x,UniVRM1.0,以及NDMF VRM Exporter导出VRM1.0再通过MateSDK转换成.me模型文件。
Steps to Reproduce
- Launch Mate-Engine 启动Mate-Engine
- Load a model whose Head bone has a non-identity rest localRotation in Neck space (e.g., Shinano VRM) 加载一个默认颈部骨骼旋转不为(0,0,0)的模型,如Shinano
- Observe the neck with head mouse tracking ON — the head is rotated ~180° away from the camera 打开头部跟踪鼠标功能,观察模型头颈部旋转
- Move the mouse around — the head angle changes in sudden jumps rather than smoothly tracking 移动鼠标,发现有时角色的头颈部旋转角度会突然大幅度改变
- Disable head mouse tracking — the neck displays correctly 关闭头部跟踪鼠标,头颈部显示正常
App Version
2.1.4
Store Edition
Steam Edition
Confirmation
- [x] I confirm this report includes only one bug.