Version: THREE.WebGLRenderer 91dev
Struggling to achieve a basic chest opening animation using three.js. Unfortunately, encountering an error while trying to create an action.
PropertyBinding: Unable to interpret trackName: .bones[].position
Link to the complete animation JSON object on pastebin: Full JSON String. Here's a brief summary:
{
"name": null,
"fps": 30,
"length": 0.5333333333333333,
"hierarchy": [{
"parent": -1,
"keys": [{
"time": 0,
"rot": [
0,
0,
0,
1
],
"scl": [
1,
1,
1
],
"pos": [
0,
0,
0
]
},
Created an Animation clip using the following commands.
var clip = THREE.AnimationClip.parseAnimation(animation, armSkeleton.bones);
geometry.animations.push(clip);
Value of clip:
duration: 0.6
name: "default"
tracks: […]
0: Object {
name: ".bones[].position",
times: […],
values: […],
…
}
1: Object {
name: ".bones[].quaternion",
times: […],
values: […],
…
}
2: Object {
name: ".bones[].scale",
times: […],
values: […],
…
}
3: Object {
name: ".bones[].position",
times: […],
values: […],
…
}
4: Object {
name: ".bones[].quaternion",
times: […],
values: […],
…
}
5: Object {
name: ".bones[].scale",
times: […],
values: […],
…
}
length: 6
__proto__: Array[]
uuid: "3E37E10B-74D0-4421-92AF-7A366CF3804F"
Error arises when trying to use the clip:
mixer = new THREE.AnimationMixer(mesh);
mixer.clipAction(mesh.geometry.animations[0]).play();
Error indicating threejs cannot interpret the trackname ".bones.position" despite the output from the parseAnimation function. Seeking guidance to identify any oversights. Appreciate any assistance.