Skip to content

orbitPose

orbitPose(target, yaw, pitch, distance): CameraPose

Defined in: src/modules/camera-3d/rigs.ts:47

A camera distance away from target, looking at it from the yaw / pitch direction: at (0, 0) it sits on +Z of the target looking down -Z, and a negative pitch raises it to look down on the target.

Vec3

number

number

number

CameraPose