Update animation mixers with delta time in RuntimeHost

This commit is contained in:
2026-04-01 00:07:34 +02:00
parent a706bd2df8
commit c5faa1ef22

View File

@@ -483,6 +483,10 @@ export class RuntimeHost {
this.activeController?.update(dt);
for (const mixer of this.animationMixers.values()) {
mixer.update(dt);
}
if (this.runtimeScene !== null && this.activeController === this.firstPersonController && this.currentFirstPersonTelemetry !== null) {
this.interactionSystem.updatePlayerPosition(this.currentFirstPersonTelemetry.feetPosition, this.runtimeScene, this.createInteractionDispatcher());
this.camera.getWorldDirection(this.cameraForward);