five-on-it / packages/ai/src/stealth / CAMERA
Variable: CAMERA
constCAMERA:object
Defined in: packages/ai/src/stealth.ts:38
The numbers of the security cameras.
Type Declaration
callRadius
readonlycallRadius:40=40
How far a camera's alarm carries to the guards (m).
halfAngle
readonlyhalfAngle:number
Half the angle of a camera's view cone (rad): 50° in all.
spotSeconds
readonlyspotSeconds:0.6=0.6
Seconds a player stays in a camera's cone before it spots them.