Apply player camera effects and update audio hooks in frame update
This commit is contained in:
@@ -1688,6 +1688,10 @@ export class RuntimeHost {
|
||||
this.previousFrameTime = now;
|
||||
|
||||
this.activeController?.update(dt);
|
||||
this.applyPlayerCameraEffects(dt);
|
||||
this.audioSystem.setPlayerControllerAudioHooks(
|
||||
this.currentPlayerAudioHooks
|
||||
);
|
||||
this.audioSystem.updateListenerTransform();
|
||||
|
||||
this.volumeTime += dt;
|
||||
|
||||
Reference in New Issue
Block a user