Recast.js
    Preparing search index...

    Interface FormationOptions

    interface FormationOptions {
        agentIds?: number[];
        type?: FormationType;
        spacing?: number;
    }
    Index

    Properties

    agentIds?: number[]

    Ordered array of agent IDs; index determines slot number.

    Formation shape. Default: 'circle'

    spacing?: number

    Spacing between slots in world units. Default: 2.0