I exported a model from Blender that I initially imported from mixamo.
I used the GLTFLoader to import it to my three.js scene.
The animation is just a running action. It works well, but I would like to make the character run through a certain distance. For example, n times the actual action.
I believe that I have to create new clips with the right keyframe tracks values and times but I don’t understand the values to do the right math.
Indeed, for each part of the body, I have the keyframes for the position, quaternion, and scale like that
and so on…
I tried to understand the values by adding an arrowHelper at each time with (x,y,z) that I have from .position keyFrameTracks and then apply
the quaternion that I have from .quaternion keyFrameTracks but I have weird results.
I don’t take into account the .scale par as the values are always 1
Could you please explain to me how to achieve what i want ?
Is it the right way of doing it ?