Add target anchor setup to runtime interaction system tests

This commit is contained in:
2026-05-11 22:01:33 +02:00
parent fbe81faae2
commit 22cbdd81d2

View File

@@ -11,6 +11,7 @@ import {
createProjectSequence
} from "../../src/sequencer/project-sequences";
import {
createNpcTargetAnchor,
createPlayerStartInputBindings,
createPlayerStartMovementTemplate,
DEFAULT_NPC_SCALE,
@@ -210,6 +211,7 @@ function createRuntimeNpcFixture(options: {
name: undefined,
visible: true,
targetable: false,
targetAnchor: createNpcTargetAnchor(),
position,
yawDegrees: 0,
scale: DEFAULT_NPC_SCALE,
@@ -1185,6 +1187,7 @@ describe("RuntimeInteractionSystem", () => {
name: "Merchant",
visible: true,
targetable: false,
targetAnchor: createNpcTargetAnchor(),
position: {
x: 0,
y: 1,