createStrategyPan
@zylem/game-lib / core / createStrategyPan
Function: createStrategyPan()
createStrategyPan(
options?):StrategyPanBehavior
Defined in: packages/game-lib/src/lib/camera/behaviors/strategy-pan.ts:59
StarCraft-style pan on the XZ plane.
The perspective (top-down or isometric) owns the angle. This behavior only slides the framed point: edge scroll, arrow or stick pan, and an optional follow target. Screen up maps to world −Z, which matches a top-down camera whose up vector is −Z.