Reduce WMO interior camera distance for tighter view

This commit is contained in:
Kelsi 2026-02-08 00:21:10 -08:00
parent ed2a8a4e0a
commit 5610faa958

View file

@ -671,7 +671,7 @@ void CameraController::update(float deltaTime) {
// Limit max zoom when inside a WMO (building interior)
// Throttle: only recheck every 10 frames or when position changes >2 units.
static constexpr float WMO_MAX_DISTANCE = 5.0f;
static constexpr float WMO_MAX_DISTANCE = 3.5f;
if (wmoRenderer) {
float distFromLastCheck = glm::length(targetPos - lastInsideWMOCheckPos);
if (++insideWMOCheckCounter >= 10 || distFromLastCheck > 2.0f) {