Refine target look boundary handling to clear active target and return false

This commit is contained in:
2026-04-25 17:33:16 +02:00
parent a0f6b98678
commit bf31cf6a2f

View File

@@ -886,8 +886,10 @@ export class RuntimeHost {
this.resolveThirdPersonTargetAssist(),
handleRuntimeTargetLookInput: (input) =>
this.handleRuntimeTargetLookInput(input),
handleRuntimeTargetLookBoundaryReached: () =>
this.retargetOrClearActiveRuntimeTarget(),
handleRuntimeTargetLookBoundaryReached: () => {
this.clearActiveRuntimeTarget();
return false;
},
isCameraDrivenExternally: () =>
this.resolveActiveRuntimeCameraRig() !== null ||
this.resolveDialogueAttentionNpc() !== null,