What is Parent ID and why does 0 mean root?

什么是父ID?为什么0代表根节点?
Last updated: 2026-10-21

What is Parent ID and why does 0 mean root?

什么是父ID?为什么0代表根节点?

Parent ID is the SG field that defines which part owns a child part, building the material group's parent-child tree. The value 0 means root: it marks a top-level part with no parent.

父ID是SG面板中定义零件从属关系的字段,用于构建材质组的父子树。值0代表根节点:表示该零件为顶层零件,没有父级。

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. Fill each part's Part ID, baseX/baseY, Anchor X/Y, Scale, Layer and Z-perspective.

2. 填写每个零件的Part ID、baseX/baseY、Anchor X/Y、Scale、Layer和Z透视。

3. Set Parent ID to 0 for top-level parts (torso, root bone).

3. 顶层零件(躯干、根骨骼)的Parent ID设为0。

4. Set Parent ID to the Part ID of the parent for child parts (arm on torso, hand on arm).

4. 子零件的Parent ID填父级的Part ID(手臂挂躯干,手挂手臂)。

5. Check the green/red hint beside the field; red means an invalid Part ID.

5. 查看输入框旁的绿/红提示;红色表示Part ID无效。

6. Confirm the tree in CANVAS: child parts must move with the parent.

6. 在CANVAS中确认父子树:子零件必须随父级移动。

7. Optional: bind parts to joints in BONE so attached parts move together.

7. 可选:在BONE中把零件绑定到骨骼关节,使附属零件一起运动。

What you CAN and CANNOT do

能做与不能做

  • CAN: build multi-level trees, nest limbs, keep parents at 0.
  • CANNOT: use a Parent ID that doesn't exist in the group; reference a child as its own parent.
  • Wrong Parent ID: parts fly apart, actions target the wrong join, and whole-project validation lists a clickable error; render fails until fixed.
  • 能做:多级父子树、嵌套肢体、父级保持为0。
  • 不能做:使用组内不存在的Parent ID;把子零件设为自己的父级。
  • Parent ID错误时:零件飞散、动作指向错误的join、整项目校验给出可点击的错误列表;修复前渲染失败。

Try these steps in the 3SAX V3 creator tool.

现在就在3SAX V3创作工具中试试这些步骤吧。

Advertisement