49cb480e15bc497ad8b2f96f45a34e5b70d6253f
Pressing F computes the combined bounding box of every selected actor, then animates the camera over 0.25s (smoothstep ease) to a distance that fits the box in view while keeping the current viewing direction. The orbit focal point and distance are synced so a subsequent Alt+drag pivots around the new center. No-ops cleanly when nothing is selected. Falls back to actor pivots when no component reports valid bounds, and clamps the radius to a minimum so point-like actors don't pull the camera onto them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
C++
92.7%
HTML
6.3%
C
0.5%
C#
0.5%