Common mistakes when setting parent IDs in a material group?

在材质组中设置父级 ID 的常见错误
Last updated: 2026-10-21

Common mistakes when setting parent IDs

设置父级 ID 的常见错误

A wrong Parent ID breaks the parent-child tree: parts detach, move alone, or the code is rejected at validation.

父级 ID 填错会破坏父子树:部件分离、单独移动,或校验时被拒绝。

How to do it in 3SAX V3

在 3SAX V3 中怎么做

1. Open the SG Material Group panel and upload your PNG parts.

1. 打开 SG 材质组面板,上传 PNG 部件。

2. Give every part a unique Part ID before linking anything.

2. 先给每个部件设置唯一的部件 ID,再建立关联。

3. Leave Parent ID empty only for root parts — one root per chain.

3. 只有根部件才留空父级 ID,每条链只留一个根。

4. Set Parent ID to an existing Part ID; never to itself, never to a part that comes later in the chain.

4. 父级 ID 必须填已存在的部件 ID;不能填自己,不能填链中靠后的部件。

5. Avoid circular links (A parent of B, B parent of A) — this fails validation.

5. 避免循环关联(A 是 B 的父级,B 又是 A 的父级),校验会失败。

6. Set baseX/baseY, Anchor X/Y, Scale, Layer and Z-perspective for each part.

6. 为每个部件设置 baseX/baseY、锚点 X/Y、缩放、图层和 Z 透视。

7. Check the green/red hint beside each field; fix red ones using the shown example.

7. 查看每个输入框旁的绿/红提示,红色按示例修正。

8. Before render, run whole-project validation and click through the error list.

8. 渲染前执行整项目校验,逐条点击错误列表处理。

What you CAN and CANNOT do

你能做与不能做

  • CAN: build multi-level parent-child trees, bind parts to BONE joints so attached parts move together.
  • CANNOT: use a duplicate Part ID, point Parent ID at a missing part, or create loops.
  • Wrong Parent ID: parts fly apart in CANVAS preview, actions hit the wrong target, render fails.
  • 能做:建立多级父子树,把部件绑定到 BONE 骨骼关节,让附属部件一起运动。
  • 不能做:重复的部件 ID、指向不存在部件的父级 ID、循环关联。
  • 父级 ID 填错:CANVAS 预览中部件飞散,动作作用到错误目标,渲染失败。

Try it now in the 3SAX V3 creator tool.

现在就在 3SAX V3 创作工具中试一下。

Advertisement