This commit is contained in:
syuilo 2026-02-10 20:35:20 +09:00
commit b05010bdc4
6 changed files with 6 additions and 1 deletions

View file

@ -128,6 +128,11 @@ onMounted(() => {
type: 'tv',
position: [-115, 0, -85],
rotation: [0, 0, 0],
}, {
id: 'q',
type: 'color-box',
position: [-135, 0, -5],
rotation: [0, 0, 0],
}],
}, {
canvas: canvas.value!,

View file

@ -8,6 +8,7 @@
* -
* - (blenderならz)0
* - _COLLISION_TOP_
* - _COLLISION_TOP_ Array Modifierなどを適用した状態では正しく動作しません
*/
import * as BABYLON from '@babylonjs/core';
@ -681,7 +682,6 @@ export class RoomEngine {
roomObj.meshes[0].scaling = new BABYLON.Vector3(-100, 100, 100);
roomObj.meshes[0].bakeCurrentTransformIntoVertices();
for (const mesh of roomObj.meshes) {
console.log(mesh.name);
//if (mesh.name === '__root__') continue;
if (mesh.name.startsWith('_COLLISION_')) {
mesh.receiveShadows = false;