mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-30 04:04:56 +02:00
wip
This commit is contained in:
@@ -21,8 +21,8 @@ export const bed = defineObject({
|
||||
},
|
||||
},
|
||||
placement: 'floor',
|
||||
createInstance: ({ options, root }) => {
|
||||
const bodyMesh = root.getChildMeshes().find(m => m.name.includes('__X_BODY__')) as BABYLON.Mesh;
|
||||
createInstance: ({ options, findMesh }) => {
|
||||
const bodyMesh = findMesh('__X_BODY__');
|
||||
const bodyMaterial = bodyMesh.material as BABYLON.PBRMaterial;
|
||||
|
||||
const applyColor = () => {
|
||||
|
||||
Reference in New Issue
Block a user