部分模型的视线追踪问题 #143
Unanswered
GardenHamster
asked this question in
Q&A
部分模型的视线追踪问题
#143
Replies: 4 comments
-
这个模型的 param id 比较特别,比如正常模型的 const model = await Live2DModel.from(modelURL);
model.internalModel.idParamEyeBallX = "PARAM_EYE_BALL_X";
model.internalModel.idParamEyeBallY = "PARAM_EYE_BALL_Y";
model.internalModel.idParamAngleX = "PARAM_ANGLE_X";
model.internalModel.idParamAngleY = "PARAM_ANGLE_Y";
model.internalModel.idParamAngleZ = "PARAM_ANGLE_Z"; 不清楚为什么 Live2DViewerEx 可以识别这种 id,可能专门做了适配吧 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我翻了下 Live2DViewerEx 的文档,确实是按照SDK做了适配的 http://live2d.pavostudio.com/doc/zh-cn/exstudio/live2d-editor/#_18 另外想问下这个项目支持自动眨眼吗,我发现这个模型同样是没有自动眨眼的,会不会也跟参数有关 但是我在 model.internalMode l里没有找到相关的参数设置了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
确实,应该是把两种参数共用了
有的,但只有在未播放 motion 的情况下才会触发,因为一般 motion 都是带有眼部动画的(包括眨眼),如果再加上自动眨眼会冲突 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
有一个模型其实在游戏里面是没有视线跟踪效果的(就是模型的视觉会跟着玩家鼠标移动的那种)
https://cdn.jsdelivr.net/gh/GardenHamster/live2d-web/model/Houkai-Gakuen2/hongyexiangshui/1833_cn.model3.json
但是导入到Live2DViewerEx中是有鼠标追踪效果的
请教一下有没有什么办法在web上也能实现类似的效果
Beta Was this translation helpful? Give feedback.
All reactions