brepjs API Reference
    Preparing search index...

    Interface IKOptions

    interface IKOptions {
        damping?: number;
        maxIterations?: number;
        seed?: Readonly<Record<string, number | readonly number[]>>;
        tip?: Vec3;
        tolerance?: number;
    }
    Index

    Properties

    damping?: number

    Damping factor λ for the least-squares step. Default 0.05.

    maxIterations?: number

    Maximum solver iterations. Default 200.

    seed?: Readonly<Record<string, number | readonly number[]>>

    Initial joint values, keyed by child node (number or per-DOF array).

    tip?: Vec3

    Local point on the end-effector node to drive to the target. Default origin.

    tolerance?: number

    Convergence threshold on the residual norm. Default 1e-5.