1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 16:25:44 +02:00
This commit is contained in:
syuilo
2026-04-19 16:38:42 +09:00
parent 5df01bae9a
commit 8b9164a8c3
3 changed files with 4 additions and 4 deletions

View File

@@ -17,15 +17,15 @@ export const colorBox = defineObject({
},
},
default: {
color: [0.75, 0.75, 0.75],
color: [0.6, 0.35, 0.15],
},
},
placement: 'floor',
hasCollisions: true,
hasTexture: true,
hasTexture: false,
canPreMeshesMerging: true,
createInstance: ({ options, model }) => {
const bodyMesh = model.findMesh('__X_BODY__');
const bodyMaterial = bodyMesh.material as BABYLON.PBRMaterial;
const bodyMaterial = model.findMaterial('__X_BODY__');
const applyColor = () => {
const [r, g, b] = options.color;