Add movement property to player state in tests

This commit is contained in:
2026-04-11 18:03:09 +02:00
parent 225a5fa1c1
commit a5c06a4e11

View File

@@ -119,6 +119,7 @@ describe("RunnerCanvas", () => {
eyePosition: { x: 0, y: 1.7, z: 0 }, eyePosition: { x: 0, y: 1.7, z: 0 },
grounded: false, grounded: false,
locomotionState: "swimming", locomotionState: "swimming",
movement: runtimeScene.playerMovement,
inWaterVolume: true, inWaterVolume: true,
cameraSubmerged: false, cameraSubmerged: false,
inFogVolume: false, inFogVolume: false,
@@ -138,6 +139,7 @@ describe("RunnerCanvas", () => {
eyePosition: { x: 0, y: 0.4, z: 0 }, eyePosition: { x: 0, y: 0.4, z: 0 },
grounded: false, grounded: false,
locomotionState: "swimming", locomotionState: "swimming",
movement: runtimeScene.playerMovement,
inWaterVolume: true, inWaterVolume: true,
cameraSubmerged: true, cameraSubmerged: true,
inFogVolume: false, inFogVolume: false,