AutoMovie API
    Preparing search index...

    One point or orientation goal on a bone.

    interface ITarget {
        axes?: readonly ("x" | "y" | "z")[];
        bone: AutoMovieHumanoidBone;
        bound?: number;
        goal: IAutoMovieVector3;
        normal?: { local: IAutoMovieVector3; world: IAutoMovieVector3 };
        on?: AutoMovieHumanoidBone;
        point?: IAutoMovieVector3;
        price?: number;
        rotation?: IAutoMovieQuaternion;
    }
    Index
    axes?: readonly ("x" | "y" | "z")[]

    The goal-frame axes it is held on; all three when absent, none for a target that holds only a rotation or a normal.

    The bone.

    bound?: number

    Allowed Euclidean point distance over the selected axes, finite nonnegative metres; componentwise exact contact when absent.

    Where it goes, metres in the goal frame.

    normal?: { local: IAutoMovieVector3; world: IAutoMovieVector3 }

    A planar contact's normal: the contact frame's normal in the bone's frame (local, the palm socket's for a hand, the plantar side for a foot or its toes) brought parallel to a goal-frame normal (world, away from the surface it lies on), its turn about that normal left free. None when absent.

    Type Declaration

    • local: IAutoMovieVector3

      Contact normal direction in the constrained bone's local frame; HumanFitTargets normalises it before angular comparison.

    • world: IAutoMovieVector3

      Required normal direction in the goal frame: the on bone's frame when supplied, world coordinates otherwise; normalised for comparison.

    The bone carrying the goal frame; world coordinates when absent.

    The point in the bone's frame, metres; its origin when absent.

    price?: number

    Its price per millimetre missed, and per milliradian for a turn; PRICE, the floor's, when absent.

    The bone's rotation in the goal frame it is brought to as well; none when absent.