ecspresso
    Preparing search index...

    Function applyForce

    • Accumulate a force onto an entity's force component.

      Parameters

      • ecs: { getComponent(id: number, name: "force"): Vector2D | undefined }
      • entityId: number
      • fx: number
      • fy: number

      Returns void