AutoMovie API
    Preparing search index...

    Type Alias IAutoMovieMotionTarget

    IAutoMovieMotionTarget:
        | { kind: "person"; region: AutoMovieHumanoidRegion; subject: string }
        | { kind: "self"; region: AutoMovieHumanoidRegion }
        | { kind: "prop"; point: string; subject: string }
        | {
            at: IAutoMovieVector3;
            frame: "world" | "performer" | "stature";
            kind: "point";
            normal?: IAutoMovieVector3;
        }
        | { kind: "none"; line?: "low"
        | "middle"
        | "high"; range?: number }

    What a directed action aims at: another person's anatomical region, a region of the performer's own body, a named point on a prop, a free point, or nothing at all.

    • person: a region of another subject's body; the action commits to its position at its commit event and tracks it afterwards.
    • self: a region of the performer's own body (a hand to the chin, to the hip, to the chest), read on the posture the performer is in.
    • prop: a named point of a prop (a bag's centre, a pad's face, a handle), as the prop's profile declares it.
    • point: a fixed point in the world or in the performer's own frame (+Z forward, +X left, +Y up, origin on the floor under the root), in metres, or in that frame in statures (stature), the performer's own measure, so one point fits every body. Its normal says which way the surface at the point faces (a table top faces up, a wall faces the room); without one the point faces back at the performer.
    • none: shadow work and drills in the air; the aim point is that of a virtual opponent of the performer's own measure at range metres (default: the technique's own range), at the line height (default middle), so contact checks become extension checks.

    Type Declaration

    • { kind: "person"; region: AutoMovieHumanoidRegion; subject: string }
      • kind: "person"

        Discriminator.

      • region: AutoMovieHumanoidRegion

        The region aimed at.

      • subject: string

        The other subject's id.

    • { kind: "self"; region: AutoMovieHumanoidRegion }
    • { kind: "prop"; point: string; subject: string }
      • kind: "prop"

        Discriminator.

      • point: string

        The prop's named point.

      • subject: string

        The prop subject's id.

    • {
          at: IAutoMovieVector3;
          frame: "world" | "performer" | "stature";
          kind: "point";
          normal?: IAutoMovieVector3;
      }
      • at: IAutoMovieVector3

        The point: metres in "world" and "performer", statures of the performer in "stature".

      • frame: "world" | "performer" | "stature"

        The frame the point is stated in: the world's, the performer's own in metres, or the performer's own in statures.

      • kind: "point"

        Discriminator.

      • Optionalnormal?: IAutoMovieVector3

        The outward direction of the surface at the point, in the same frame; any non-zero vector. Faces the performer when absent.

    • { kind: "none"; line?: "low" | "middle" | "high"; range?: number }
      • kind: "none"

        Discriminator.

      • Optionalline?: "low" | "middle" | "high"

        The virtual opponent's height line; middle when absent.

      • Optionalrange?: number

        Distance to the virtual opponent, metres; the technique's range when absent.