Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

18.6 KB
Raw Blame
{
  "version": "2",
  "name": "hero",
  "rootEntityId": "n24",
  "entities": [
    {
      "prefabEntityId": "n24",
      "name": "Rig",
      "parent": null,
      "children": [
        "n23",
        "n22"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "scale": {
              "x": 100,
              "y": 100,
              "z": 100
            }
          }
        },
        {
          "type": "TimelinePlayer",
          "data": {
            "timeline": "assets/models/hero_Crouch_Fwd_Loop.estimeline",
            "playing": false
          }
        }
      ]
    },
    {
      "prefabEntityId": "n23",
      "name": "Mannequin",
      "parent": "n24",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {}
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "assets/models/hero.esmesh",
            "lit": true,
            "material": "assets/models/hero_m0.esmaterial",
            "color": {
              "r": 0.799098551273346,
              "g": 0.40197816491127014,
              "b": 0.04231153056025505,
              "a": 1
            },
            "opaque": true,
            "enabled": true
          }
        },
        {
          "type": "MeshSkin",
          "data": {
            "joints": [
              "n22",
              "n21",
              "n12",
              "n11",
              "n10",
              "n1",
              "n0",
              "n5",
              "n4",
              "n3",
              "n2",
              "n9",
              "n8",
              "n7",
              "n6",
              "n16",
              "n15",
              "n14",
              "n13",
              "n20",
              "n19",
              "n18",
              "n17"
            ]
          }
        }
      ]
    },
    {
      "prefabEntityId": "n22",
      "name": "root",
      "parent": "n24",
      "children": [
        "n21"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "rotation": {
              "w": 0.7071067690849304,
              "x": -0.7071067690849304,
              "y": 0,
              "z": 0
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n21",
      "name": "DEF-hips",
      "parent": "n22",
      "children": [
        "n12",
        "n16",
        "n20"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0.05010002851486206,
              "z": 0.916700005531311
            },
            "rotation": {
              "w": 0.6125028133392334,
              "x": 0.7904684543609619,
              "y": 9.12700137689626e-9,
              "z": 1.1778897857084303e-8
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n12",
      "name": "DEF-spine.001",
      "parent": "n21",
      "children": [
        "n11"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -5.828670879282072e-16,
              "y": 0.1381763368844986,
              "z": 1.7695128917694092e-8
            },
            "rotation": {
              "w": 0.9979045987129211,
              "x": -0.06470265239477158,
              "y": 1.1859754067700123e-7,
              "z": -9.617974860987033e-9
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n11",
      "name": "DEF-spine.002",
      "parent": "n12",
      "children": [
        "n10"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 5.462623473543758e-15,
              "y": 0.12403508275747299,
              "z": -2.7153873816132545e-8
            },
            "rotation": {
              "w": 0.9970094561576843,
              "x": -0.07727984338998795,
              "y": -6.326933288391956e-8,
              "z": -1.576790076285306e-8
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n10",
      "name": "DEF-spine.003",
      "parent": "n11",
      "children": [
        "n1",
        "n5",
        "n9"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 5.036120679381944e-16,
              "y": 0.14127187430858612,
              "z": 9.313225746154785e-10
            },
            "rotation": {
              "w": 1,
              "x": -0.00026857294142246246,
              "y": -5.309264139441439e-9,
              "z": -3.632747574977557e-11
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n1",
      "name": "DEF-neck",
      "parent": "n10",
      "children": [
        "n0"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 2.3782082650170315e-15,
              "y": 0.17289090156555176,
              "z": -2.0489096641540527e-8
            },
            "rotation": {
              "w": 0.9938219785690308,
              "x": 0.11098597198724747,
              "y": -4.880538195806139e-9,
              "z": 1.3878556082147497e-8
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n0",
      "name": "DEF-head",
      "parent": "n1",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 3.8571792481745856e-15,
              "y": 0.08258674293756485,
              "z": -2.0023435354232788e-8
            },
            "rotation": {
              "w": 0.9969003796577454,
              "x": -0.07867428660392761,
              "y": 1.4970561679206185e-8,
              "z": -1.0633153912920079e-8
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n5",
      "name": "DEF-shoulder.L",
      "parent": "n10",
      "children": [
        "n4"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.018799979239702225,
              "y": 0.1405538022518158,
              "z": 0.08089503645896912
            },
            "rotation": {
              "w": 0.6235507130622864,
              "x": -0.6040206551551819,
              "y": -0.345102995634079,
              "z": -0.35671770572662354
            },
            "scale": {
              "x": 1.0000001192092896,
              "y": 1,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n4",
      "name": "DEF-upper_arm.L",
      "parent": "n5",
      "children": [
        "n3"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -0.030072327703237534,
              "y": 0.21858172118663788,
              "z": -0.016968311741948128
            },
            "rotation": {
              "w": 0.6837477087974548,
              "x": 0.18026961386203766,
              "y": 0.6838499903678894,
              "z": -0.1798364520072937
            },
            "scale": {
              "x": 1,
              "y": 1.000000238418579,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n3",
      "name": "DEF-forearm.L",
      "parent": "n4",
      "children": [
        "n2"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -1.1901104812750418e-7,
              "y": 0.27444028854370117,
              "z": 1.1048541637137532e-8
            },
            "rotation": {
              "w": 0.9998524188995361,
              "x": 0.01718227006494999,
              "y": -0.000020337443856988102,
              "z": 5.830246436744346e-7
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n2",
      "name": "DEF-hand.L",
      "parent": "n3",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 3.1413728152074327e-7,
              "y": 0.2726406157016754,
              "z": -7.710582394793164e-9
            },
            "rotation": {
              "w": 0.9999628663063049,
              "x": -0.008619682863354683,
              "y": -3.993365282894956e-7,
              "z": -2.1422658846859122e-7
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n9",
      "name": "DEF-shoulder.R",
      "parent": "n10",
      "children": [
        "n8"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -0.018800001591444016,
              "y": 0.1405538022518158,
              "z": 0.08089502900838852
            },
            "rotation": {
              "w": 0.6235508322715759,
              "x": -0.6040206551551819,
              "y": 0.3451029360294342,
              "z": 0.35671761631965637
            },
            "scale": {
              "x": 0.9999999403953552,
              "y": 0.9999999403953552,
              "z": 0.9999998807907104
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n8",
      "name": "DEF-upper_arm.R",
      "parent": "n9",
      "children": [
        "n7"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.030072307214140892,
              "y": 0.21858170628547668,
              "z": -0.016968434676527977
            },
            "rotation": {
              "w": 0.6837475895881653,
              "x": 0.18026971817016602,
              "y": -0.683850109577179,
              "z": 0.1798364669084549
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n7",
      "name": "DEF-forearm.R",
      "parent": "n8",
      "children": [
        "n6"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 8.920900995690317e-8,
              "y": 0.2744402289390564,
              "z": -1.4075340004637837e-8
            },
            "rotation": {
              "w": 0.9998524188995361,
              "x": 0.017182370647788048,
              "y": 0.000020517160010058433,
              "z": -3.6275702086641104e-7
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n6",
      "name": "DEF-hand.R",
      "parent": "n7",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -1.1331076166243292e-7,
              "y": 0.2726404368877411,
              "z": 3.2101823421726294e-9
            },
            "rotation": {
              "w": 0.9999628663063049,
              "x": -0.00861973688006401,
              "y": 4.768189114656707e-7,
              "z": -4.7609525211100845e-9
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n16",
      "name": "DEF-thigh.L",
      "parent": "n21",
      "children": [
        "n15"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.08899997919797897,
              "y": 0.027770835906267166,
              "z": 0.04602379724383354
            },
            "rotation": {
              "w": 0.12237043678760529,
              "x": 0.9924845099449158,
              "y": 3.6208072096144406e-9,
              "z": 2.9366505671646337e-8
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 1.0000014305114746
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n15",
      "name": "DEF-shin.L",
      "parent": "n16",
      "children": [
        "n14"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 1.1145173672844066e-8,
              "y": 0.40030965209007263,
              "z": -1.0012035644990647e-10
            },
            "rotation": {
              "w": 0.9993305206298828,
              "x": 0.03658587113022804,
              "y": -0.0001311877858825028,
              "z": -0.000004798114332515979
            },
            "scale": {
              "x": 0.9999999403953552,
              "y": 1,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n14",
      "name": "DEF-foot.L",
      "parent": "n15",
      "children": [
        "n13"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -7.291419024113566e-9,
              "y": 0.4294799864292145,
              "z": -2.9831426218152046e-10
            },
            "rotation": {
              "w": 0.8485772013664246,
              "x": -0.5290713906288147,
              "y": -0.00032809414551593363,
              "z": 0.0003434528480283916
            },
            "scale": {
              "x": 1,
              "y": 0.9999999403953552,
              "z": 1
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n13",
      "name": "DEF-toe.L",
      "parent": "n14",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 1.8681021174415946e-8,
              "y": 0.17330090701580048,
              "z": -2.731394488364458e-8
            },
            "rotation": {
              "w": 0.0004995493218302727,
              "x": 0.00013709688209928572,
              "y": -0.9643067121505737,
              "z": 0.2647874355316162
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n20",
      "name": "DEF-thigh.R",
      "parent": "n21",
      "children": [
        "n19"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -0.08899997919797897,
              "y": 0.027770835906267166,
              "z": 0.04602379351854324
            },
            "rotation": {
              "w": 0.12237042933702469,
              "x": 0.9924845099449158,
              "y": 8.414732022288263e-9,
              "z": 6.824755161005669e-8
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 1.0000016689300537
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n19",
      "name": "DEF-shin.R",
      "parent": "n20",
      "children": [
        "n18"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -2.6508853778750563e-8,
              "y": 0.4003097712993622,
              "z": 4.610640758073714e-10
            },
            "rotation": {
              "w": 0.9993305206298828,
              "x": 0.03658587113022804,
              "y": -0.00013122690143063664,
              "z": -0.000004796680514118634
            },
            "scale": {
              "x": 0.9999999403953552,
              "y": 0.9999999403953552,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n18",
      "name": "DEF-foot.R",
      "parent": "n19",
      "children": [
        "n17"
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 2.250203579023946e-8,
              "y": 0.42947983741760254,
              "z": -5.293259164318442e-9
            },
            "rotation": {
              "w": 0.8485772013664246,
              "x": -0.5290714502334595,
              "y": -0.000328094232827425,
              "z": 0.0003434528480283916
            },
            "scale": {
              "x": 1,
              "y": 1,
              "z": 0.9999999403953552
            }
          }
        }
      ]
    },
    {
      "prefabEntityId": "n17",
      "name": "DEF-toe.R",
      "parent": "n18",
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -1.1192241800017655e-8,
              "y": 0.1733008623123169,
              "z": -2.8572685550898314e-8
            },
            "rotation": {
              "w": 0.0004995492636226118,
              "x": 0.00013709691120311618,
              "y": -0.964306652545929,
              "z": 0.2647874653339386
            },
            "scale": {
              "x": 1,
              "y": 0.9999997019767761,
              "z": 0.9999997615814209
            }
          }
        }
      ]
    }
  ]
}