feat(camera): flip retail chase camera to default-on after visual ship

After visual verification 2026-05-18 (turn lag, coast-and-settle,
slope-tilt, jump tracking with contact-plane projection all working),
make the retail chase camera the default. Legacy ChaseCamera stays
available via the DebugPanel toggle (ACDREAM_RETAIL_CHASE=0 or the
checkbox) pending a follow-up deletion commit.

Env var polarity now matches AlignToSlope: default-on if unset, off
only when explicitly "0".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-05-19 09:47:33 +02:00
parent b7e954e50b
commit 67e64c79cf
2 changed files with 17 additions and 10 deletions

View file

@ -15,13 +15,17 @@ namespace AcDream.Core.Rendering;
public static class CameraDiagnostics
{
/// <summary>
/// Master toggle. When false (default) the legacy
/// <c>AcDream.App.Rendering.ChaseCamera</c> is the active camera;
/// when true, the retail-faithful <c>RetailChaseCamera</c> is.
/// Initial state from <c>ACDREAM_RETAIL_CHASE=1</c>.
/// Master toggle. When true (default, after visual ship 2026-05-18)
/// the retail-faithful <c>AcDream.App.Rendering.RetailChaseCamera</c>
/// is the active chase camera; when false, the legacy
/// <c>AcDream.App.Rendering.ChaseCamera</c> rigid-follow camera is.
/// Initial state from <c>ACDREAM_RETAIL_CHASE</c> — default-on if
/// unset, off only when explicitly set to <c>"0"</c>. The legacy
/// camera stays available via the DebugPanel toggle pending the
/// follow-up deletion commit.
/// </summary>
public static bool UseRetailChaseCamera { get; set; } =
Environment.GetEnvironmentVariable("ACDREAM_RETAIL_CHASE") == "1";
Environment.GetEnvironmentVariable("ACDREAM_RETAIL_CHASE") != "0";
/// <summary>
/// When true (default), the camera basis follows the player's