Skip to content

five-on-it / packages/ai/src/stealth / CAMERA

Variable: CAMERA ​

const CAMERA: object

Defined in: packages/ai/src/stealth.ts:38

The numbers of the security cameras.

Type Declaration ​

callRadius ​

readonly callRadius: 40 = 40

How far a camera's alarm carries to the guards (m).

halfAngle ​

readonly halfAngle: number

Half the angle of a camera's view cone (rad): 50° in all.

spotSeconds ​

readonly spotSeconds: 0.6 = 0.6

Seconds a player stays in a camera's cone before it spots them.