auto-git:

[change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-25 03:06:18 +02:00
parent 56c4494e54
commit 5bd083923d

View File

@@ -4172,15 +4172,13 @@ export class RuntimeHost {
this.previousFrameTime = now;
this.updatePauseInputState();
const simulationDt = this.isRuntimePaused() ? 0 : dt;
const cameraDt = dt;
const previousCameraPose = this.captureCurrentCameraPose();
this.activeController?.update(simulationDt);
const activeCameraRig = this.applyActiveCameraRig(
simulationDt,
previousCameraPose
);
const activeCameraRig = this.applyActiveCameraRig(cameraDt, previousCameraPose);
if (activeCameraRig === null) {
if (!this.isActiveExternalCameraSource() && activeCameraRig === null) {
this.applyPlayerCameraEffects(simulationDt);
} else {
this.resetPlayerCameraEffects();