Add play and stop animation actions in runtime interaction system and update scene build to include animation properties

This commit is contained in:
2026-04-01 00:02:23 +02:00
parent 12e675692a
commit f981efde61
2 changed files with 9 additions and 1 deletions

View File

@@ -214,6 +214,12 @@ export class RuntimeInteractionSystem {
case "toggleVisibility":
dispatcher.toggleBrushVisibility(link.action.targetBrushId, link.action.visible, link);
break;
case "playAnimation":
dispatcher.playAnimation(link.action.targetModelInstanceId, link.action.clipName, link);
break;
case "stopAnimation":
dispatcher.stopAnimation(link.action.targetModelInstanceId, link);
break;
}
}
}