mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 20:57:08 -04:00
Previously disabled because the per-frame raycast caused erratic zoom snapping at doorway transitions. Re-enable using an asymmetrically- smoothed collision limit: pull-in reacts quickly (τ≈60 ms) to prevent the camera from ever visibly clipping through walls, while recovery is slow (τ≈400 ms) so walking through a doorway zooms back out gradually instead of snapping. Uses wmoRenderer->raycastBoundingBoxes() which already has strict wall filters (|normal.z|<0.20, surface-alignment check, ±0.9 height band) to ignore floors, ramps, and arch geometry.