This commit is contained in:
syuilo
2026-02-11 15:55:47 +09:00
parent 24a7131b0b
commit 91e3249b23
5 changed files with 8 additions and 0 deletions

View File

@@ -33,6 +33,11 @@ onMounted(() => {
position: [120, 0, 50],
rotation: [0, 0.2, 0],
variation: 'mikan',
}, {
id: 'a2',
type: 'opened-cardboard-box',
position: [115, 0, -20],
rotation: [0, -0.1, 0],
}, {
id: 'b',
type: 'cardboard-box',

View File

@@ -186,6 +186,9 @@ const OBJECTS = {
'tv': {
placement: 'top',
},
'opened-cardboard-box': {
placement: 'top',
},
} as Record<string, ObjectDef>;
function vecToLocal(vector: BABYLON.Vector3, mesh: BABYLON.Mesh): BABYLON.Vector3 {