auto-git:

[change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-25 03:54:33 +02:00
parent 41eb8f56ee
commit 5de867d459

View File

@@ -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 (