Add collisionCount and groundCollisionNormal to FirstPersonNavigationController tests

This commit is contained in:
2026-04-11 18:43:59 +02:00
parent a1c066fb92
commit 03a773d057

View File

@@ -178,6 +178,8 @@ describe("FirstPersonNavigationController", () => {
z: feetPosition.z + motion.z
},
grounded: false,
collisionCount: 0,
groundCollisionNormal: null,
collidedAxes: {
x: false,
y: false,
@@ -233,6 +235,8 @@ describe("FirstPersonNavigationController", () => {
z: feetPosition.z + motion.z
},
grounded: true,
collisionCount: 1,
groundCollisionNormal: { x: 0, y: 1, z: 0 },
collidedAxes: {
x: false,
y: false,