Framing
Keeps the whole Pathwise gallery in the player's view whatever the window's shape. The gallery is laid out for a 16:9 view with a 60° vertical field of view; in a narrower or taller window (a browser tab, a phone held upright, an editor with side panels) the signs at both edges w…
gallery.Framing
Keeps the whole Pathwise gallery in the player's view whatever the window's shape. The gallery is laid out for a 16:9 view with a 60° vertical field of view; in a narrower or taller window (a browser tab, a phone held upright, an editor with side panels) the signs at both edges would be cut off. This component keeps the horizontal field of view a 16:9 window has: it widens the camera's vertical field of view (up to maxFov) and, in a very tall window, also pulls the orbit camera back. It re-checks whenever the window's shape changes.
Put it on the player prototype's camera rig, beside the Camera component and its @builtin::controller.orbital_follow behaviour. It acts only on the local player's own rig. frameFor(aspect) frames for a given window shape (used for captures and checks). Part of the gallery, not of navKit.
Scoped to this part · feeds back into the world's score.