diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 402e79b4..aff911a6 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -1379,12 +1379,12 @@ export class RuntimeHost { private createPlayerWaterContactBounds() { if ( this.runtimeScene === null || - this.currentFirstPersonTelemetry === null + this.currentPlayerControllerTelemetry === null ) { return null; } - const feetPosition = this.currentFirstPersonTelemetry.feetPosition; + const feetPosition = this.currentPlayerControllerTelemetry.feetPosition; const playerShape = this.runtimeScene.playerCollider; switch (playerShape.mode) {