Update player position handling in interaction system and tests

This commit is contained in:
2026-04-14 21:12:42 +02:00
parent 7449dccd61
commit 7198b43241
3 changed files with 75 additions and 27 deletions

View File

@@ -2734,7 +2734,10 @@ export class RuntimeHost {
this.currentPlayerControllerTelemetry !== null
) {
this.interactionSystem.updatePlayerPosition(
this.currentPlayerControllerTelemetry.feetPosition,
{
feetPosition: this.currentPlayerControllerTelemetry.feetPosition,
eyePosition: this.currentPlayerControllerTelemetry.eyePosition
},
this.runtimeScene,
this.createInteractionDispatcher()
);