From 5de867d4593700121b8d5c5d4669187a86a5d210 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 03:54:33 +0200 Subject: [PATCH] auto-git: [change] src/runtime-three/runtime-host.ts --- src/runtime-three/runtime-host.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 7a93cfa3..263d7697 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -3637,6 +3637,7 @@ export class RuntimeHost { } const facingGroup = new Group(); + facingGroup.name = "npcFacingGroup"; facingGroup.rotation.y = (npc.yawDegrees * Math.PI) / 180; group.add(facingGroup); const colliderTop = @@ -4773,12 +4774,7 @@ export class RuntimeHost { if (renderGroup !== undefined) { renderGroup.visible = npc.visible && npc.active; - renderGroup.position.set( - npc.position.x, - npc.position.y, - npc.position.z - ); - renderGroup.rotation.set(0, (npc.yawDegrees * Math.PI) / 180, 0); + this.syncNpcRenderGroupTransform(renderGroup, npc); } if (