From 4ee5c73bcadc8c2d15fd84c9b130ea26553a76f4 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 10 Feb 2026 11:43:16 +0900 Subject: [PATCH] Update engine.ts --- packages/frontend/src/utility/room/engine.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/utility/room/engine.ts b/packages/frontend/src/utility/room/engine.ts index 1ff2f2a040..a02ebdb03a 100644 --- a/packages/frontend/src/utility/room/engine.ts +++ b/packages/frontend/src/utility/room/engine.ts @@ -633,6 +633,7 @@ export class RoomEngine { const soMesh = this.objectMeshs.get(soid)!; soMesh.parent = null; soMesh.position = soMesh.position.add(mesh.position); + soMesh.rotation = soMesh.rotation.add(mesh.rotation); removeStickyParentRecursively(soMesh); } }; @@ -666,6 +667,7 @@ export class RoomEngine { setStickyParentRecursively(soMesh); soMesh.parent = mesh; soMesh.position = soMesh.position.subtract(mesh.position); + soMesh.rotation = soMesh.rotation.subtract(mesh.rotation); } }; setStickyParentRecursively(highlightedObject);