Hello
I have the newest FBX-Loader and I use the dat.gui to move the character. In my FBX, there are Morph-Targets and Bones. The connections work ans everything is moving so far.
Now, could it be, that when I use the same number for the Morph-Target list and the Bone list (see code bellow) , the movement of the Morph-Targets and/or the Bones get shaky?
The numbers in the code bellow after ‘mesh.morphTargetInfluences’ and after ‘mesh.skeleton.bones’ are both [0]. Could this be a problem because the Morph-Targets and the Bones have the same numbers? (This goes on with 1, 2, 3, …)
Thanks for answers or maybe a possibility to differ both better.
var gui = new dat.GUI();
var folder = gui.addFolder( 'Morph Targets' );
folder.add( params, 'influence0', 0, 1 ).step( 0.01 ).name('BrowL').onChange( function( value ) { mesh.morphTargetInfluences[ 0 ] = value; } );
var folder = gui.addFolder( 'Bones' );
folder.add( params, 'bone0', -1, 1 ).step( 0.01 ).name('AugeR').onChange( function( value ) { mesh.skeleton.bones[ 0 ].rotation.x = value;});