How to Hide or Remove 3D model after it finished animation loop

how to solve the question above? when the animation after loopOnce, then the object automatically remove from scene

I’m not sure I understand your question but since you have mentioned the constant LoopOnce, you probably talk about the animation system of three.js.

Maybe you can try to utilize the finished of AnimationMixer like the following:

mixer.addEventListener( 'finished', ( event ) => {

	console.log( 'Finished animation action: ', event.action );

	// now remove the respective 3D object from scene

} );
1 Like

I did it! Thank you for your help, this problem has troubled me for a long time. Thank you very much

1 Like