From 41d06e7ad179467828195ead54c3cb7b1b0e8908 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 7 Mar 2026 04:16:37 +0900 Subject: [PATCH] fix teleport end anim --- src/VrmCharacter.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VrmCharacter.jsx b/src/VrmCharacter.jsx index 116cd96..ed60e0d 100644 --- a/src/VrmCharacter.jsx +++ b/src/VrmCharacter.jsx @@ -135,7 +135,7 @@ export default function VrmCharacter({ selectedAnimation: animState }) { if (meta && !meta.loop && actions[current]) { const action = actions[current]; if (!action.isRunning() || action.time >= action.getClip().duration - 0.1) { - action.stop(); + action.fadeOut(0.3); actions.fly_idle?.reset().setLoop(THREE.LoopRepeat).fadeIn(0.3).play(); currentActionRef.current = 'fly_idle'; }