1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 14:05:35 +02:00
This commit is contained in:
syuilo
2026-04-19 16:46:55 +09:00
parent 8b9164a8c3
commit c0690c9b80
3 changed files with 2 additions and 1 deletions

View File

@@ -42,13 +42,14 @@ export const blind = defineObject({
},
placement: 'bottom',
hasCollisions: false,
hasTexture: false,
createInstance: ({ options, model }) => {
const temp = createOverridedStates({
angle: () => options.angle,
open: () => options.open,
});
const blade = model.findMesh('Blade');
const blade = model.findMesh('__X_BLADE__');
blade.rotation = new BABYLON.Vector3(options.angle, 0, 0);
let blades = [] as BABYLON.InstancedMesh[];