AutoMovie API
    Preparing search index...

    Function createProjectile

    • Something a weapon launches or a hand throws, or a soldier loads: a musket ball, an arrow, a crossbow bolt, a field gun's round shot, a hand grenade, a throwing stone or a musket's paper cartridge.

      A ball, a shot and a stone rest on the floor of their own space on their lowest point; body is the ball pinched between the fingers, the shot taken in two hands, or the stone closed round in one hand. A stone is a ball of granite whose mass is drawn and whose diameter follows from that mass at its drawn specific gravity, so a heavier stone is bigger; it rests on stone, so its body's friction is granite's on concrete. A grenade rests on its body with its fuze up, its body closed round in one hand; its pin and lever wait for a source of their size and pull, and its 4 to 5 s fuze delay is its data sheet's, for the throw that reads it. An arrow or a bolt stands along +Y from its butt at the origin to its point: shaft is its shaft, held anywhere along it; nock is its butt, facing down along it, which sits on a bow's or a crossbow's string; tip is its point, +Y along it. An arrow's and a bolt's shaft is wood, a bolt's head steel, and a shot and a grenade iron or steel, as their records state; each rests on that material, an arrow and a bolt on the wooden butt of its shaft, so its body's friction is that material's on concrete; a ball's lead has no measured pair, so its body carries no friction. A projectile is an ordinary archetype: it moves only by a grip or a flight, never by itself, and its flight data is its model body's (flight): its drag, its restitution where it bounces or rolls and its depth where it sticks, each only where a source read it, with how it is held in flight and how its flight ends (ATTITUDE, OUTCOME), for the flight #3479 runs. A cartridge, the paper tube of a musket's ball and powder, stands along +Y from its ball end at the origin to its powder end: grip is its paper pinched between the thumb and two fingers, and end its powder end, which the teeth bite off to prime and load ("Bring it to the mouth ... and bite off the top of it", Duane, A Military Dictionary, 1810); it is loaded, never launched, so it carries no flight data.

      Parameters

      • params: createProjectile.IParams

        The kind, the read object where the kind has several, and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that picks the object left free and draws every dimension left free inside its band; absent, the first object and the middle of each band.

      Returns Archetype<createProjectile.Affordance, createProjectile.Dimension>

      The projectile.

      For an object not of the kind, a fixed dimension outside its band, or one the object gives.