From 924c517bb58c80994f48bd49875664a112635147 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:31:44 +0900 Subject: [PATCH] Update randomBooks.ts --- packages/frontend/src/world/room/objects/randomBooks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/world/room/objects/randomBooks.ts b/packages/frontend/src/world/room/objects/randomBooks.ts index aaab469cef..761a504bdd 100644 --- a/packages/frontend/src/world/room/objects/randomBooks.ts +++ b/packages/frontend/src/world/room/objects/randomBooks.ts @@ -96,6 +96,7 @@ export const randomBooks = defineObject({ const width = randomRange(0.125, 0.175); const height = randomRange(0.3, 0.4); const thickness = randomRange(0, 0.03); + // なぜか(bakeが走るまでは)morphTargetManagerがcloneされていないような挙動をする。babylonのバグ? mesh.morphTargetManager!.getTargetByName('Width')!.influence = width; mesh.morphTargetManager!.getTargetByName('Height')!.influence = height; mesh.morphTargetManager!.getTargetByName('Thickness')!.influence = thickness;