Hello guys.
I’m following the code from this example: https://jsfiddle.net/baxshzrm/1/
and made some changes:
function onKeys (event) {
event.preventDefault ();
var frame = clock.getDelta ();
for (var i = 0; i < mixers.length; i ++) {
mixers [i] .update (frame + 10 * +0.05);
}
}
window.addEventListener (“keypress”, onKeys, false);
I noticed that when you press a button any of the animation is skipping the keyframes, in this case (I think) 10 frames ahead, but without executing the other frames of the animation.
I found it interesting, because if we can adjust it we can map animations to the file.
I’m loading a .FBX template.
Would it be useful to study this? I would appreciate the help as I prefer working with fbx.
…