1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 18:45:35 +02:00

Update randomBooks.ts

This commit is contained in:
syuilo
2026-04-23 12:31:44 +09:00
parent 54c339d89c
commit 924c517bb5

View File

@@ -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;