AutoMovie API
    Preparing search index...

    Function createHorse

    • A horse with its tack: a coarse body of one bar per bone, under a riding saddle with stirrups, reins and a lead rope, in a driving harness, or under a pack saddle with a lead rope.

      The horse stands square on level ground, facing +Z, with the middle of its trunk over the origin. Its body is the shared quadruped's (QuadrupedBody) drawn by the horse's proportions, BODY: its parts are its bones, named by QuadrupedBody.Bone, a trunk, the hindquarters behind it, a neck, a head and a tail, and four bones down each limb. Each bone is a bar from joint to joint, so the horse is posed by moving joints; createHorse.rig gives the joints at rest and rideHorse poses the limbs through a gait. Bone lengths are fixed fractions of the height at the withers and each bone's share of the body's mass is the measured one. The trunk runs Kubo's shoulder to hip; the hindquarters carry the body on from the hip joint to the point of buttock, which Jensen et al. place behind the point of shoulder.

      Under the saddle (tack saddle, the default) the rider's contacts ride the trunk: the saddle's seat, the two stirrups, the two reins where the hands hold them, and the pommel and cantle a mounting rider grips. lead is the lead rope's held run, beside the head on the horse's left. In harness (tack harness) the horse wears a breast collar, a driving saddle with its tugs, terrets, girth and backstrap, a breeching and a bridle with blinkers, as HorseHarness lays them; its one contact is the hitch between the tugs, which a cart's coupling is held on. The traces and the driving lines run between the horse and the vehicle, so the towing ride lays them (createCart.lines). A postilion's horse (tack both) wears the harness under the riding saddle and offers both's contacts. Under a pack saddle (tack pack) the horse wears FM 25-7's Phillips cargo saddle sized to it, with its cinch, breast collar, croup piece and breeching, as HorsePack lays them; its contacts are the lead and a load against each side, leftLoad and rightLoad.

      Its height at the withers is drawn from the warmbloods' range; its heart girth and its mass follow that height, the girth in their mean proportion and the mass by the girth-squared-times-length law anchored on their means (mass), so a horse's three measures agree. The seat and the reins are each one of their read sizes.

      Parameters

      • params: createHorse.IParams = {}

        The tack, the seat and reins by their read sizes, and any free dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws every free dimension inside its band and the seat and the reins among their read sizes; absent, each dimension takes the middle of its band and each size the first listed.

      Returns Archetype<createHorse.Affordance, createHorse.Dimension>

      The horse.

      For a fixed dimension outside its band, a tack that is not one of TACKS, or a seat or reins not among SEATS and REINS.