From 12e675692a100d4cd2b9a2b87e3b897b86a4cd11 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 1 Apr 2026 00:01:29 +0200 Subject: [PATCH] Extend RuntimeInteractionDispatcher with playAnimation and stopAnimation methods --- src/runtime-three/runtime-interaction-system.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime-three/runtime-interaction-system.ts b/src/runtime-three/runtime-interaction-system.ts index cd9d157f..f485e488 100644 --- a/src/runtime-three/runtime-interaction-system.ts +++ b/src/runtime-three/runtime-interaction-system.ts @@ -8,6 +8,8 @@ const DEFAULT_INTERACTABLE_TARGET_RADIUS = 0.75; export interface RuntimeInteractionDispatcher { teleportPlayer(target: RuntimeTeleportTarget, link: InteractionLink): void; toggleBrushVisibility(brushId: string, visible: boolean | undefined, link: InteractionLink): void; + playAnimation(instanceId: string, clipName: string, link: InteractionLink): void; + stopAnimation(instanceId: string, link: InteractionLink): void; } export interface RuntimeInteractionPrompt {