mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update randomBooks.ts
This commit is contained in:
parent
54c339d89c
commit
924c517bb5
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue