From 8f583ec89466544eb2cf9cfea2717b6d2fefd55a Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 29 May 2026 19:39:24 +0200 Subject: [PATCH] =?UTF-8?q?feat(render):=20Phase=20A8.F=20=E2=80=94=20Came?= =?UTF-8?q?ra=20menu=20toggle=20for=20spring-arm=20collision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a checkable "Collide Camera (spring arm)" item to the Camera submenu. Clicking it flips CameraDiagnostics.CollideCamera, matching the live A/B toggle pattern used for UseRetailChaseCamera. The checkmark reflects the current flag value so state is always visible in the menu. Co-Authored-By: Claude Opus 4.7 --- src/AcDream.App/Rendering/GameWindow.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AcDream.App/Rendering/GameWindow.cs b/src/AcDream.App/Rendering/GameWindow.cs index 7017a65..6df4d44 100644 --- a/src/AcDream.App/Rendering/GameWindow.cs +++ b/src/AcDream.App/Rendering/GameWindow.cs @@ -7942,6 +7942,11 @@ public sealed class GameWindow : IDisposable if (ImGuiNET.ImGui.MenuItem(flyLabel, "Ctrl+Shift+F")) ToggleFlyOrChase(); } + // A8.F: spring-arm camera collision (live A/B toggle). + if (ImGuiNET.ImGui.MenuItem("Collide Camera (spring arm)", "", + AcDream.Core.Rendering.CameraDiagnostics.CollideCamera)) + AcDream.Core.Rendering.CameraDiagnostics.CollideCamera = + !AcDream.Core.Rendering.CameraDiagnostics.CollideCamera; ImGuiNET.ImGui.EndMenu(); } ImGuiNET.ImGui.EndMainMenuBar();