AutoMovie API
    Preparing search index...

    Function createHeavyBag

    • A hanging heavy bag: a cylinder of the drawn height and diameter hanging from its hook.

      It hangs from its hook at the origin, the middle of its top, the bag below it along -Y; the chain is the placement's, since no listing read gives its length; the side struck faces +Z. target is the bag's face at its middle height, a surface along +Z a punch or a kick lands on, +X across the bag and its depth the bag's height; hook is the hanging point, +Y up. Where the hook hangs, a ceiling's or a stand's, is the placement's.

      A bag swinging after a hit is the force law of #3417, not this archetype's.

      Parameters

      • params: createHeavyBag.IParams = {}

        Any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws every dimension left free inside its band; absent, each takes the middle of its band.

      Returns Archetype<createHeavyBag.Affordance, createHeavyBag.Dimension>

      The heavy bag.

      For a fixed dimension outside its band.