We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f2cffe commit 71b4f0fCopy full SHA for 71b4f0f
spine-ts/spine-threejs/example/physics.html
@@ -39,8 +39,6 @@
39
let skeletonFile = "celestial-circus-pro.json";
40
let atlasFile = `celestial-circus${pma ? "-pma" : ""}.atlas`;
41
42
- let animation = "eyeblink-long";
43
-
44
function init() {
45
// create the THREE.JS camera, scene and renderer (WebGL)
46
let width = window.innerWidth,
@@ -99,8 +97,8 @@
99
97
parameters.alphaTest = 0.001;
100
98
}
101
);
102
- skeletonMesh.state.setAnimation(0, animation, true);
103
- skeletonMesh.state.setAnimation(1, "swing", true);
+ skeletonMesh.state.setAnimation(0, "swing", true);
+ skeletonMesh.state.setAnimation(1, "eyeblink-long", true);
104
mesh.add(skeletonMesh);
105
106
skeletonMesh.position.y = -300;
0 commit comments