From fbc100c974babc9d6500d83f7f845851dd405d7b Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 16:10:35 +0200 Subject: [PATCH] Adjust west landing coordinates and update expected ground height assertions --- tests/domain/rapier-collision-world.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/domain/rapier-collision-world.test.ts b/tests/domain/rapier-collision-world.test.ts index 4615930e..30fe7327 100644 --- a/tests/domain/rapier-collision-world.test.ts +++ b/tests/domain/rapier-collision-world.test.ts @@ -1103,7 +1103,7 @@ describe("RapierCollisionWorld", () => { ); const westLanding = collisionWorld.resolveFirstPersonMotion( { - x: 10, + x: 11, y: 8, z: 22 }, @@ -1119,8 +1119,8 @@ describe("RapierCollisionWorld", () => { expect(eastLanding.feetPosition.y).toBeGreaterThan(3.9); expect(eastLanding.feetPosition.y).toBeLessThan(4.1); expect(westLanding.grounded).toBe(true); - expect(westLanding.feetPosition.y).toBeGreaterThan(-0.1); - expect(westLanding.feetPosition.y).toBeLessThan(0.1); + expect(westLanding.feetPosition.y).toBeGreaterThan(0.4); + expect(westLanding.feetPosition.y).toBeLessThan(0.6); } finally { collisionWorld.dispose(); }