Update runtime interaction system tests with default scale and rotation values

This commit is contained in:
2026-05-11 14:08:08 +02:00
parent fd5b97f7db
commit 0b741474f5

View File

@@ -12,7 +12,9 @@ import {
} from "../../src/sequencer/project-sequences"; } from "../../src/sequencer/project-sequences";
import { import {
createPlayerStartInputBindings, createPlayerStartInputBindings,
createPlayerStartMovementTemplate createPlayerStartMovementTemplate,
DEFAULT_NPC_SCALE,
DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES
} from "../../src/entities/entity-instances"; } from "../../src/entities/entity-instances";
import { import {
createControlInteractionLink, createControlInteractionLink,
@@ -113,6 +115,7 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
y: 0, y: 0,
z: 0 z: 0
}, },
rotationDegrees: DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES,
size: { size: {
x: 2, x: 2,
y: 2, y: 2,
@@ -208,6 +211,7 @@ function createRuntimeNpcFixture(options: {
visible: true, visible: true,
position, position,
yawDegrees: 0, yawDegrees: 0,
scale: DEFAULT_NPC_SCALE,
modelAssetId: null, modelAssetId: null,
dialogues: [ dialogues: [
{ {
@@ -1032,6 +1036,7 @@ describe("RuntimeInteractionSystem", () => {
y: 1.2, y: 1.2,
z: 0 z: 0
}, },
rotationDegrees: DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES,
size: { size: {
x: 2, x: 2,
y: 1, y: 1,
@@ -1115,6 +1120,7 @@ describe("RuntimeInteractionSystem", () => {
z: 1.5 z: 1.5
}, },
yawDegrees: 180, yawDegrees: 180,
scale: DEFAULT_NPC_SCALE,
modelAssetId: null, modelAssetId: null,
dialogues: [ dialogues: [
{ {