GLB animation clips reset to first clip on complete ( play once )

Hi - I load in a GLB with 5 animation clips embedded. I don’t want them to loop so I use:


to play once which is exactly what happens. The issue is that when the play through completes I would expect the animation to be stopped / paused on the final frame. Instead the mixer appear to reset the animation to the first animation clip embedded in the GLB. I need to be able to listen for the ‘finished’ event in order to manage the next steps, but by the time this fires, the animation has been reset.

Hope that makes sense. Happy to provide a demo, but not sure if there’s a js fiddle scene available for Three.


You might be looking for the .clampWhenFinished property. :slight_smile:

It certainly was! Thanks!