I created a player to start and stop an animation. Everything is good, the only thing I can't solve is how to update the position of the slider's knob. Here is the code I tried:
scene.addEventListener( Scene3D.UPDATE_EVENT, update_pos );
vid_pos = Math.round(animation.currentFrame * boundWidth / animation.frames.length + trackX);
sliderKnob.x = vid_pos;
Can anybody help?