orbitToward

function orbitToward
camera.ts:244
orbitToward(up: Vec3, direction: Vec3, distance: number) → ObserverState

The orbit that stands the camera along direction from the ship.

The inverse of orbitOffset, and what makes switching views a cut nobody sees: the orbit opens where the chase camera was standing, and the first drag moves it from there rather than from wherever it was left.

upVec3
Undocumented
directionVec3
Undocumented
distancenumber
Undocumented