Initialize smoothed camera collision distance tracking

This commit is contained in:
2026-04-25 18:54:38 +02:00
parent eb569e2477
commit e6c509b610

View File

@@ -299,6 +299,7 @@ export class ThirdPersonNavigationController implements NavigationController {
this.grounded = false;
this.jumpPressed = false;
this.smoothedFeetY = 0;
this.smoothedCameraCollisionDistance = null;
this.standingPlayerShape = cloneFirstPersonPlayerShape(
FIRST_PERSON_PLAYER_SHAPE
);