Documentation
    Preparing search index...

    Interface SteeringContext

    The read-only view of the steering agent itself (plan P8-2).

    A SteeringNeighbor plus the two limits that turn a desired velocity into a bounded acceleration.

    interface SteeringContext {
        maxAcceleration: number;
        maxSpeed: number;
        position: Vector3;
        velocity: Vector3;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    maxAcceleration: number

    Acceleration budget in units per second squared; the truncation limit.

    maxSpeed: number

    Top speed in units per second; the magnitude of any desired velocity.

    position: Vector3

    World position of the agent. Never mutated by a behaviour.

    velocity: Vector3

    World velocity in units per second. Never mutated by a behaviour.