Skip to content

SideCamera

SideCamera(__namedParameters): Element | null

Defined in: packages/engine/src/components/SideCamera.tsx:34

A side view for a platformer: an orbit that follows the player with its azimuth, tilt and distance locked, and no drag, wheel or touch to move them. The loop reads its heading off the locked azimuth, so the stick’s left and right stay fixed in the world, across the screen.

Parameter Type
__namedParameters SideCameraProps

Element | null