mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
8b9164a8c3
commit
c0690c9b80
3 changed files with 2 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue