Skip to content

PickingOptions beta ​

Interface of @v12-engine/engine/ai

ts
export interface PickingOptions

How a brain picks among its goals, where a goal does not say for itself (BrainDef.picking)

Members ​

commitment ​

ts
commitment?: number;

Seconds a picked goal keeps its claim: 5 when left out

margin ​

ts
margin?: number;

How much more a goal must score than a committed one to take from it: 0.15 when left out

min ​

ts
min?: number;

The score under which a goal is not picked: 0.05 when left out