AutoMovie API
    Preparing search index...
    • What an effector's facing and along axes lie on at a region: the region's normal and the travel's tangent (tangent); the normal and the arm's own direction across it (arm); the line from the elbow straight into the place, with the along axis on the world's up as nearly as that line allows (reach); or the world's up with the effector facing against a level direction, the region's level normal unless one is given (upright). An upright region facing straight up or down with no direction given, and a reach line that runs straight up or down, fall back to the travel's tangent for the along axis.

      Parameters

      • body: IAutoMovieMotionHumanBody

        The body.

      • posture: Pick<IAutoMovieMotionHumanPosture, "root" | "yaw">

        The posture the heading and the elbow are read on.

      • side: AutoMovieHumanSide

        The hand.

      • lay: "reach" | "tangent" | "arm" | "upright" | undefined

        What the along axis lies on; the tangent when absent.

      • point: IAutoMovieVector3

        The region's point, world.

      • normal: IAutoMovieVector3

        The region's outward unit normal, world.

      • travel: IAutoMovieVector3

        The travel's unit tangent on the region, world.

      • Optionalfacing: IAutoMovieVector3

        With upright, the level direction the effector faces against; the region's level normal when absent.

      • Optionalelbow: "natural" | "level"

        Where the elbow lies, which arm and reach lay the effector from; the place of least strain when absent.

      • Optionalfrom: IAutoMovieVector3

        With reach, the elbow's place, world; read from the body's measures when absent.

      • lean: number = 0

        With upright, how far the vessel's axis leans from the world's up toward the region, degrees, the facing turned with it; upright when absent.

      Returns [IAutoMovieVector3, IAutoMovieVector3]

      The direction the effector faces against and the direction its along axis lies on, world, as AutoMovieMotionHumanTouchEffector.goal takes them.