Update engine.ts

This commit is contained in:
syuilo
2026-03-03 13:26:57 +09:00
parent dbdb7ec324
commit 1c9a324f3a

View File

@@ -860,6 +860,8 @@ export class RoomEngine {
const meshUpdated = (meshes: BABYLON.Mesh[]) => {
for (const m of meshes) {
const mesh = m;
mesh.refreshBoundingInfo({ applyMorph: true });
//mesh.showBoundingBox = _DEV_;
mesh.metadata = metadata;
mesh.checkCollisions = !hasCollisionMesh;