We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,
由于自己的模型头发太高,点头动作会导致呆毛有一部分被canvas截断,请问如何设置加载模型时或显示模型时,将模型向下偏移一段距离?谢谢你!
The text was updated successfully, but these errors were encountered:
@XunZhan - 我的模型是脖子以上全没了😭暂时没能找到设置位置或者缩小模型的配置
模型是在 <canvas /> 中被渲染的,需要调整模型本身。
<canvas />
以我使用的模型为例,需要针对性调整 layout 下的4个参数。
layout
center_x
center_y
width
height
2
{ "posted": "Dreamer-Paul", "version": "Live2DViewerEX Config 1.0", "model": "sagiri.moc", "textures": [ "textures/texture_00.png", "textures/texture_01.png" ], "layout": { "center_x": 0, "center_y": -0.3, "width": 2, "height": 2 }, "motions": { "tap": [ { "file": "motions/tap/c.mtn" } ], "idle": [ { "file": "motions/idle/idle_01.mtn" }, { "file": "motions/idle/idle_02.mtn" }, { "file": "motions/idle/idle_03.mtn" }, { "file": "motions/idle/idle_04.mtn" } ] }, "physics": "physics.json" }
Sorry, something went wrong.
No branches or pull requests
你好,
由于自己的模型头发太高,点头动作会导致呆毛有一部分被canvas截断,请问如何设置加载模型时或显示模型时,将模型向下偏移一段距离?谢谢你!
The text was updated successfully, but these errors were encountered: